From adffcc9053665c52029cb96746ce28d9f334d18a 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 --- Reaktor/etc/systemd/system/Reaktor.service | 14 ++++++++++++++ Reaktor/etc/systemd/system/Reaktor@.service | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 Reaktor/etc/systemd/system/Reaktor.service delete mode 100644 Reaktor/etc/systemd/system/Reaktor@.service (limited to 'Reaktor/etc') diff --git a/Reaktor/etc/systemd/system/Reaktor.service b/Reaktor/etc/systemd/system/Reaktor.service new file mode 100644 index 00000000..6bb3e550 --- /dev/null +++ b/Reaktor/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/Reaktor/etc/systemd/system/Reaktor@.service b/Reaktor/etc/systemd/system/Reaktor@.service deleted file mode 100644 index 565368b3..00000000 --- a/Reaktor/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