mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-22 02:32:51 +01:00
Updated Autostart on Linux (markdown)
parent
a3c49c2b4f
commit
b8f7ac460a
@ -20,21 +20,23 @@ Most Linux distributions have moved to [systemd](https://www.freedesktop.org/wik
|
||||
|
||||
**Create the service file**
|
||||
|
||||
_Be sure to modify the user, group, path to the `mono` binary and install directory._
|
||||
|
||||
Create and edit the `sonarr.service` file in `/etc/systemd/system/`, where non-package `.service` files are kept.
|
||||
|
||||
```bash
|
||||
sudo nano /etc/systemd/system/sonarr.service`
|
||||
```
|
||||
|
||||
**Add and edit this example `sonarr.service` unit**
|
||||
|
||||
_Be *sure* to modify the user, group, path to the `mono` binary and install directory._
|
||||
|
||||
```
|
||||
[Unit]
|
||||
Description=Sonarr Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
# Change or create the required user and group.
|
||||
# Change and/or create the required user and group.
|
||||
User=sonarr
|
||||
Group=sonarr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user