[systemd] Updating services
This commit is contained in:
7
systemd/.config/systemd/user/cam-capture.service
Normal file
7
systemd/.config/systemd/user/cam-capture.service
Normal file
@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description="Download latest camera shots"
|
||||
Requires=cam-capture.timer
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/home/powellc/.bin/webcam-capture-all
|
||||
10
systemd/.config/systemd/user/cam-capture.timer
Normal file
10
systemd/.config/systemd/user/cam-capture.timer
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description="Timer for the cam capture"
|
||||
|
||||
[Timer]
|
||||
Unit=cam-capture.service
|
||||
OnBootSec=10s
|
||||
OnCalendar=*:0/2
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
@ -4,4 +4,4 @@ Requires=nyt-downloader.timer
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/nyt
|
||||
ExecStart=/home/powellc/.bin/nyt
|
||||
|
||||
Reference in New Issue
Block a user