This website works better with JavaScript.
Home
Explore
Help
Sign In
redplanet
/
demotape
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add systemd service file
master
Andreas Demmelbauer
4 years ago
parent
fd1dc6d83c
commit
9aab5bf59a
1 changed files
with
13 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-0
demotape.service
+ 13
- 0
demotape.service
View File
@@ -0,0 +1,13 @@
[Unit]
Description=checks regulary the webstreams of all district parlaments in vienna. Online streams get taped.
After=multi-user.target
[Service]
Type=idle
User=pi
ExecStart=/usr/bin/python3 /path/to/demotape.py > /var/log/demotape.log 2>&1
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Write
Preview
Loading…
Cancel
Save