Renamed unit file.

This commit is contained in:
John Wiseman 2020-05-03 23:56:15 -07:00
parent cb4b2d149f
commit 03d691f6bf
2 changed files with 11 additions and 10 deletions

View File

@ -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

11
advisorycircular@.service Normal file
View File

@ -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