diff options
author | dennis <dennis@mrslave> | 2019-11-12 11:10:57 +0100 |
---|---|---|
committer | dennis <dennis@mrslave> | 2019-11-12 11:10:57 +0100 |
commit | 83e44519614ad5db7b88a6c66acbc0127298ae22 (patch) | |
tree | 34f6bb1f03c81eefde8761527a9b7cb06cae65e0 /mkosi.extra/etc/systemd | |
parent | fuck ubuntus motd (diff) | |
download | mkosi-radarr-83e44519614ad5db7b88a6c66acbc0127298ae22.tar.gz |
moving from skeleton to extra
Diffstat (limited to 'mkosi.extra/etc/systemd')
l--------- | mkosi.extra/etc/systemd/system/multi-user.target.wants/sonarr.service | 1 | ||||
-rw-r--r-- | mkosi.extra/etc/systemd/system/sonarr.service | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/mkosi.extra/etc/systemd/system/multi-user.target.wants/sonarr.service b/mkosi.extra/etc/systemd/system/multi-user.target.wants/sonarr.service new file mode 120000 index 0000000..c518c7e --- /dev/null +++ b/mkosi.extra/etc/systemd/system/multi-user.target.wants/sonarr.service @@ -0,0 +1 @@ +../sonarr.service
\ No newline at end of file diff --git a/mkosi.extra/etc/systemd/system/sonarr.service b/mkosi.extra/etc/systemd/system/sonarr.service new file mode 100644 index 0000000..86b461b --- /dev/null +++ b/mkosi.extra/etc/systemd/system/sonarr.service @@ -0,0 +1,17 @@ +[Unit] +Description=Sonarr Daemon +After=network.target + +[Service] +User=warez +Group=warez +Umask=022 + +Type=simple +ExecStart=/usr/bin/mono /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/config +TimeoutStopSec=20 +KillMode=process +Restart=on-failure + +[Install] +WantedBy=multi-user.target |