Skip to content
Snippets Groups Projects

Deb issues

Merged Piotr Gawron requested to merge deb-issues into master
5 files
+ 37
18
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 1
3
@@ -50,9 +50,7 @@ if [ -d /run/systemd/system ]; then
@@ -50,9 +50,7 @@ if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
systemctl --system daemon-reload >/dev/null || true
fi
fi
if [ "$1" = "configure" ] && [ -z "$2" ]; then
crontab -u smasch -l 2>/dev/null | grep -v "runcrons" | { cat; echo "*/5 * * * * . /usr/lib/smasch/env/bin/activate && python /usr/lib/smasch/manage.py runcrons >> /var/log/smasch/cronjob.log 2>&1"; } | crontab -u smasch -
crontab -u smasch -l 2>/dev/null | grep -v "runcrons" | { cat; echo "*/5 * * * * . /usr/lib/smasch/env/bin/activate && python /usr/lib/smasch/manage.py runcrons >> /var/log/smasch/cronjob.log 2>&1"; } | crontab -u smasch -
fi
#DEBHELPER#
#DEBHELPER#
Loading