blob: f22e5b1a3c9283ff6827222cdb81c5a0eff6b399 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[Unit]
Description=Fake camera
After=network.target
[Service]
Type=simple
WorkingDirectory=%h/repos/Linux-Fake-Background-Webcam
ExecStart=%h/repos/Linux-Fake-Background-Webcam/env/bin/python fake.py -c %h/.config/fakecam/config.ini
# fake.py exits when pressing Ctrl + \ which corresponds to SIGQUIT
# so we need to specify this kill signal instead of SIGINT
KillSignal=SIGQUIT
[Install]
WantedBy=default.target
|