From 4b168225f07d9d1dee20f7685aa3a88643210305 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 28 Jun 2018 01:18:02 -0600 Subject: [PATCH] update template vars --- .../dist/etc/skel/.config/systemd/user/telebit.service.tpl | 2 +- usr/share/dist/etc/systemd/system/telebit.service.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/share/dist/etc/skel/.config/systemd/user/telebit.service.tpl b/usr/share/dist/etc/skel/.config/systemd/user/telebit.service.tpl index 34931cf..45da0ea 100644 --- a/usr/share/dist/etc/skel/.config/systemd/user/telebit.service.tpl +++ b/usr/share/dist/etc/skel/.config/systemd/user/telebit.service.tpl @@ -23,7 +23,7 @@ StartLimitBurst=3 WorkingDirectory={TELEBIT_PATH} # custom directory cannot be set and will be the place where this exists, not the working directory -ExecStart={TELEBIT_PATH}/bin/node {TELEBIT_PATH}/bin/telebitd.js daemon --config {TELEBIT_PATH}/etc/telebitd.yml +ExecStart={TELEBIT_NODE} {TELEBITD_JS} daemon --config {TELEBITD_CONFIG} ExecReload=/bin/kill -USR1 $MAINPID # Limit the number of file descriptors and processes; see `man systemd.exec` for more limit settings. diff --git a/usr/share/dist/etc/systemd/system/telebit.service.tpl b/usr/share/dist/etc/systemd/system/telebit.service.tpl index b4ceee1..5678d35 100644 --- a/usr/share/dist/etc/systemd/system/telebit.service.tpl +++ b/usr/share/dist/etc/systemd/system/telebit.service.tpl @@ -23,7 +23,7 @@ Group={TELEBIT_GROUP} WorkingDirectory={TELEBIT_PATH} # custom directory cannot be set and will be the place where this exists, not the working directory -ExecStart={TELEBIT_PATH}/bin/node {TELEBIT_PATH}/bin/telebitd.js daemon --config {TELEBIT_PATH}/etc/telebitd.yml +ExecStart={TELEBIT_NODE} {TELEBITD_JS} daemon --config {TELEBITD_CONFIG} ExecReload=/bin/kill -USR1 $MAINPID # Limit the number of file descriptors and processes; see `man systemd.exec` for more limit settings.