diff --git a/hackertours.service b/hackertours.service new file mode 100644 index 0000000..8c4d774 --- /dev/null +++ b/hackertours.service @@ -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 diff --git a/hackertours.unit b/hackertours.unit deleted file mode 100644 index b986db1..0000000 --- a/hackertours.unit +++ /dev/null @@ -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