From f0846bdef2ce35bb5b5ec44a11d626d8476f8739 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 15 Jun 2017 12:43:14 +0300 Subject: [PATCH] - Added alias to kill X on the Kodi machine to restart Kodi when it hangs. --- .bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.bashrc b/.bashrc index b95093d..f98e6cd 100644 --- a/.bashrc +++ b/.bashrc @@ -88,6 +88,7 @@ alias cdtemp='cd $(mktemp -d)' alias 0-day-cleanup='ssh xbmc.shore.co.il "sudo -u debian-transmission find /srv/library/Comics -name *.part -path *0-Day\ Week\ of* -delete"' alias httpbin='tox -c $HOME/.tox.ini.httpbin --' alias update-requirements='find -name "*requirements*.txt" -exec pur --requirement {} \;' +alias restart-kodi='ssh xbmc.shore.co.il "sudo systemctl kill --kill-who all xorg.service"' deduce_aws_region () { AWS_DEFAULT_REGION="$(curl --silent \ -- GitLab