diff options
Diffstat (limited to 'www-apps/jackett/files/jackett.service')
-rw-r--r-- | www-apps/jackett/files/jackett.service | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www-apps/jackett/files/jackett.service b/www-apps/jackett/files/jackett.service new file mode 100644 index 000000000000..8a2d7775fed5 --- /dev/null +++ b/www-apps/jackett/files/jackett.service @@ -0,0 +1,30 @@ +[Unit] +Description=API Support for your favorite torrent trackers +After=syslog.target network.target + +[Service] +User=jackett +Group=jackett + +Type=simple +ExecStart=/opt/jackett/jackett +TimeoutStopSec=20 +KillMode=process +Restart=always + +PrivateTmp=yes +PrivateDevices=yes +PrivateMounts=yes +ProtectHome=yes +ProtectSystem=full +NoNewPrivileges=yes +ProtectHostname=yes +ProtectClock=yes +ProtectKernelTunables=yes +ProtectKernelModules=yes +ProtectKernelLogs=yes +ProtectControlGroups=yes +RestrictRealtime=yes + +[Install] +WantedBy=multi-user.target |