mirror of
https://github.com/Radarr/Radarr
synced 2025-03-12 07:05:08 +00:00
Edited autostart section
parent
05fb50839b
commit
524e82b49d
1 changed files with 2 additions and 43 deletions
|
@ -61,47 +61,6 @@ https://aur.archlinux.org/packages/radarr/
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Autostart systemd ###
|
### Autostart Radarr on Linux ###
|
||||||
|
|
||||||
Create the service file.
|
Follow [this Wiki article](https://github.com/Radarr/Radarr/wiki/Autostart-on-Linux) relevent to your Distro.
|
||||||
|
|
||||||
touch /etc/systemd/system/radarr.service
|
|
||||||
|
|
||||||
Open with nano or an editor of your choice.
|
|
||||||
|
|
||||||
nano /etc/systemd/system/radarr.service
|
|
||||||
|
|
||||||
Paste this and change user/group to whatever user you want to run the service.
|
|
||||||
|
|
||||||
```
|
|
||||||
[Unit]
|
|
||||||
Description=Radarr Daemon
|
|
||||||
After=syslog.target network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=<service username>
|
|
||||||
Group=<service group>
|
|
||||||
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/usr/bin/mono /opt/Radarr/Radarr.exe -nobrowser
|
|
||||||
TimeoutStopSec=20
|
|
||||||
KillMode=process
|
|
||||||
Restart=on-failure
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
```
|
|
||||||
|
|
||||||
Create the symlink.
|
|
||||||
|
|
||||||
systemctl enable radarr.service
|
|
||||||
|
|
||||||
Start the service.
|
|
||||||
|
|
||||||
service radarr start
|
|
||||||
|
|
||||||
Confirm the service is running.
|
|
||||||
|
|
||||||
service radarr status
|
|
||||||
|
|
||||||
Navigate to http://ipaddress:7878
|
|
Loading…
Add table
Reference in a new issue