diff options
Diffstat (limited to 'www-apps/readarr-bin/files/readarr.service')
-rw-r--r-- | www-apps/readarr-bin/files/readarr.service | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www-apps/readarr-bin/files/readarr.service b/www-apps/readarr-bin/files/readarr.service new file mode 100644 index 000000000000..c96ba634b514 --- /dev/null +++ b/www-apps/readarr-bin/files/readarr.service @@ -0,0 +1,30 @@ +[Unit] +Description=An ebook and audiobook collection manager for Usenet and BitTorrent users +After=syslog.target network.target + +[Service] +User=readarr +Group=readarr + +Type=simple +ExecStart=/opt/readarr/Readarr +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 |