can't be bothered writing a commit message
This commit is contained in:
commit
697b009627
55 changed files with 21320 additions and 0 deletions
23
packaging/systemd/breadarrd.service
Normal file
23
packaging/systemd/breadarrd.service
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[Unit]
|
||||
Description=breadarr media acquisition daemon
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/breadarrd
|
||||
# `always`, not `on-failure` — a clean-but-wrong exit (e.g. the background
|
||||
# grab/import loop falling out of its own retry logic) should still trigger
|
||||
# a restart, not leave the daemon dead until someone notices by hand.
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
# 0022, not a restrictive 0077 — breadarrd writes into media library folders
|
||||
# that Jellyfin (or another user/process) needs to read.
|
||||
UMask=0022
|
||||
RuntimeDirectory=breadarr
|
||||
RuntimeDirectoryMode=0700
|
||||
KillSignal=SIGTERM
|
||||
TimeoutStopSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue