miklik

filmstop.service

Dec 30th, 2018
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. [Unit]
  2. Description=Filmstop
  3. After=multi-user.target dbus.service
  4.  
  5.  
  6. [Service]
  7. Type=simple
  8. User=pi
  9. #ExecStartPre=/home/pi/stopomx.sh
  10. ExecStart=/usr/bin/python3 /home/pi/filmstop.py
  11. ExecStop=/home/pi/stopomx.sh
  12. Restart=always
  13.  
  14. [Install]
  15. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment