No need to rm the file, as systemd looks for state change

This commit is contained in:
Ubergeek 2019-03-22 11:53:42 +00:00
parent 7fe50e2efc
commit bc9f4a7e21
2 changed files with 0 additions and 2 deletions

View File

@ -9,7 +9,6 @@ else
cd /var/thunix/ansible
/usr/bin/git pull
/usr/local/bin/ansible-playbook -i /var/thunix/ansible/hosts /var/thunix/ansible/site.yml -u root
rm /dev/shm/run-ansible
touch /dev/shm/ansible-hook-last-run
rm $RUNNING
exit 0

View File

@ -8,7 +8,6 @@ else
touch $RUNNING
cd /var/www/thunix.cf
/usr/bin/git pull
rm /dev/shm/run-www
touch /dev/shm/www-hook-last-run
rm $RUNNING
exit 0