Correct syntax and name

This commit is contained in:
Stefan Bethke 2024-12-17 10:16:32 +01:00
parent 104333b1f5
commit 77cea0bcc0
2 changed files with 13 additions and 10 deletions

13
hackertours.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=Run foobazdmx controller in Hackertours config
[Service]
Type=simple
ExecStart=poetry run python ./foobaz.py -a 127.0.0.1 -r hackertours -A hackertours -C 0,255,32
WorkingDirectory=%h/working/foobazdmx
Restart=on-failure
[Install]
WantedBy=default.target
# link or copy me to ~/.config/systemd/user

View file

@ -1,10 +0,0 @@
[Unit]
Description=Run foobazdmx controller in Hackertours config
[Service]
Type=simple
ExecStart=poetry python ./foobaz.py -a 127.0.0.1 -r hackertours -A hackertours -C 0,255,32
WorkingDirectory=~/working/foobazdmx
[Install]
WantedBy=default.target