Skip to content

Commit

Permalink
Issue #8: Just use pkill to stop timelapses.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Aug 21, 2017
1 parent aa79aa3 commit fce7374
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions timelapse-stop.sh

This file was deleted.

2 changes: 1 addition & 1 deletion timelapse.service
Expand Up @@ -6,7 +6,7 @@ After=network.target
Type=simple
ExecStart=/usr/bin/python /home/pi/pi-timelapse/timelapse.py
RemainAfterExit=true
ExecStop=/home/pi/pi-timelapse/timelapse-stop.sh
ExecStop=pkill -f timelapse.py
StandardOutput=journal
StandardError=journal
User=pi
Expand Down

0 comments on commit fce7374

Please sign in to comment.