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.