Skip to content

Commit

Permalink
Remove crontab when stopping
Browse files Browse the repository at this point in the history
  • Loading branch information
dlitz committed Apr 10, 2010
1 parent e2ec605 commit b7c2d1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/root/stop
@@ -1,6 +1,9 @@
#!/bin/bash
set -e

echo "Deleting user's crontab ..."
crontab -u repo -r

echo "Invoking stop script ..."
su - repo -c "cd ~/work && script/stop" || true

Expand Down

0 comments on commit b7c2d1e

Please sign in to comment.