mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Debian Install Script
Closes #4382 Closes #4383 Closes #4401 Closes #4407 Closes #4423 Closes #4474 Co-Authored-By: Stevie Robinson <stevie.robinson@gmail.com>
This commit is contained in:
parent
6ae99acea7
commit
c3c50498bd
2 changed files with 202 additions and 0 deletions
20
distribution/debian/lidarr.service
Normal file
20
distribution/debian/lidarr.service
Normal file
|
@ -0,0 +1,20 @@
|
|||
# This file is owned by the lidarr package, DO NOT MODIFY MANUALLY
|
||||
# Instead use 'dpkg-reconfigure -plow lidarr' to modify User/Group/UMask/-data
|
||||
# Or use systemd built-in override functionality using 'systemctl edit lidarr'
|
||||
[Unit]
|
||||
Description=Lidarr Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=lidarr
|
||||
Group=lidarr
|
||||
UMask=002
|
||||
|
||||
Type=simple
|
||||
ExecStart=/opt/Lidarr/Lidarr -nobrowser -data=/var/lib/lidarr
|
||||
TimeoutStopSec=20
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue