diff --git a/advisory-circular@.service.conf b/advisory-circular@.service.conf deleted file mode 100644 index 8224afc..0000000 --- a/advisory-circular@.service.conf +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Advisory Circular twitter bot -Documentaion=https://gitlab.com/jjwiseman/advisory-circular/ -Wants=network.target -After=network.target - -[Service] -Type=simple -Restart=always -ExecStart=/usr/local/share/advisorycircular/advisorycircular.sh %i diff --git a/advisorycircular@.service b/advisorycircular@.service new file mode 100644 index 0000000..ded3c51 --- /dev/null +++ b/advisorycircular@.service @@ -0,0 +1,11 @@ +[Unit] +Description=Advisory Circular twitter bot for %i +Documentation=https://gitlab.com/jjwiseman/advisory-circular/ +Wants=network.target +After=network.target + +[Service] +Type=simple +User=advisorycircular +Restart=always +ExecStart=/usr/local/share/advisorycircular/advisorycircular %i