[systemd] Add canon-webcam user script

This commit is contained in:
2021-08-05 11:47:06 -04:00
parent 1fe9b12344
commit cef6610403

View File

@ -0,0 +1,12 @@
[Unit]
Description=Run gPhoto with a stream from a webcam
[Service]
Type=simple
ExecStart=/home/powellc/.bin/slr-to-webcam
ExecStop=pkill gphoto2
Environment=SSH_AUTH_SOCK=%t/keyring/ssh
Restart=on-failure
[Install]
WantedBy=default.target