23 lines
682 B
Desktop File
23 lines
682 B
Desktop File
[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
|