This commit is contained in:
Konstantin Stepanov 2014-04-22 08:54:24 -07:00
parent 81afa369f2
commit 0e044ad6ec

10
gistfile2.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
GENERATOR_DIR=/run/systemd/generator
rm -f $GENERATOR_DIR/cron-*.service
rm -f $GENERATOR_DIR/cron-*.timer
rm -f $GENERATOR_DIR/cron.target
/usr/lib/systemd/system-generators/systemd-crontab-generator $GENERATOR_DIR
systemctl daemon-reload
systemctl restart cron.target