From 3005c4701cade073dbc2285e3629cb516b4a3cec Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 27 Apr 2014 18:17:00 +0200 Subject: make systemd Reaktor file less variable --- etc/systemd/system/Reaktor.service | 14 ++++++++++++++ etc/systemd/system/Reaktor@.service | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 etc/systemd/system/Reaktor.service delete mode 100644 etc/systemd/system/Reaktor@.service diff --git a/etc/systemd/system/Reaktor.service b/etc/systemd/system/Reaktor.service new file mode 100644 index 0000000..6bb3e55 --- /dev/null +++ b/etc/systemd/system/Reaktor.service @@ -0,0 +1,14 @@ +[Unit] +Description=Reaktor for user %i +After=network.target nss-lookup.target + +[Service] +Type=normal +#TODO - make reaktor path variable +User=reaktor +ExecStart=/krebs/painload/Reaktor/index +Restart=always +RestartSec=3 + +[Install] +WantedBy=multi-user.target diff --git a/etc/systemd/system/Reaktor@.service b/etc/systemd/system/Reaktor@.service deleted file mode 100644 index 565368b..0000000 --- a/etc/systemd/system/Reaktor@.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Reaktor for user %i -After=network.target nss-lookup.target - -[Service] -Type=normal -#TODO - make reaktor path variable -User=%i -ExecStart=/krebs/painload/Reaktor/index -Restart=always -RestartSec=3 - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3