From 469f58355e6a19ab8f6d2b513c215201d44f16ed Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 21 May 2021 18:43:27 +0530 Subject: [PATCH] updated for jackett --- conf/{app.src => app.src.default} | 0 conf/systemd.service | 10 ++++++---- 2 files changed, 6 insertions(+), 4 deletions(-) rename conf/{app.src => app.src.default} (100%) diff --git a/conf/app.src b/conf/app.src.default similarity index 100% rename from conf/app.src rename to conf/app.src.default diff --git a/conf/systemd.service b/conf/systemd.service index e575285..dca18f2 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,15 +1,17 @@ [Unit] -Description=Small description of the service +Description=Jackett Daemon After=network.target [Service] +SyslogIdentifier=jackett +Restart=always +RestartSec=5 Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__/ -ExecStart=__FINALPATH__/script -StandardOutput=append:/var/log/__APP__/__APP__.log -StandardError=inherit +ExecStart=/bin/sh "__FINALPATH__/jackett_launcher.sh" --Port __PORT__ --NoUpdates +TimeoutStopSec=30 [Install] WantedBy=multi-user.target