From 03d691f6bf409134911687d5fb7f971cc8124865 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Sun, 3 May 2020 23:56:15 -0700 Subject: [PATCH] Renamed unit file. --- advisory-circular@.service.conf | 10 ---------- advisorycircular@.service | 11 +++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 advisory-circular@.service.conf create mode 100644 advisorycircular@.service 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