mirror of
https://github.com/myned/watcher.git
synced 2024-11-01 12:22:38 +00:00
Add systemd user service file
This commit is contained in:
parent
669a1a9219
commit
93ee34c49d
1 changed files with 11 additions and 0 deletions
11
watcher.service
Normal file
11
watcher.service
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Watcher
|
||||
Requires=default.target
|
||||
After=default.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=~/.git/Watcher
|
||||
ExecStart=poetry run python -OO run.py >&2
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in a new issue