Correct syntax and name
This commit is contained in:
parent
104333b1f5
commit
77cea0bcc0
2 changed files with 13 additions and 10 deletions
13
hackertours.service
Normal file
13
hackertours.service
Normal 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
|
|
@ -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
|
|
Loading…
Reference in a new issue