diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-03-22 23:38:56 +0100 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2024-03-23 14:38:46 -0400 |
commit | cd15b81d5f090491b08f2b8a9dc71b64ec4bb355 (patch) | |
tree | 48c95f95dbb71d4b9e87a77df867e46f4c89990f /www-apps/readarr-bin/files/readarr.service | |
parent | www-apps/prowlarr-bin: move from www-apps/prowlarr (diff) | |
download | gentoo-cd15b81d5f090491b08f2b8a9dc71b64ec4bb355.tar.gz gentoo-cd15b81d5f090491b08f2b8a9dc71b64ec4bb355.tar.bz2 gentoo-cd15b81d5f090491b08f2b8a9dc71b64ec4bb355.zip |
www-apps/readarr-bin: move from www-apps/readarr
Bug: https://bugs.gentoo.org/915346
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Signed-off-by: Craig Andrews <candrews@gentoo.org>
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 |