bakerboy448

Untitled

Dec 23rd, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1.  
  2. bakerboy448@server:~$ sudo systemctl cat sonarr
  3. # Warning: sonarr.service changed on disk, the version systemd has loaded is outdated.
  4. # This output shows the current version of the unit's original fragment and drop-in files.
  5. # If fragments or drop-ins were added or removed, they are not properly reflected in this output.
  6. # Run 'systemctl daemon-reload' to reload units.
  7. # /lib/systemd/system/sonarr.service
  8. [Unit]
  9. Description=Sonarr Daemon
  10. After=network.target
  11.  
  12. [Service]
  13. User=bakerboy448
  14. Group=bakerboy448
  15. UMask=002
  16.  
  17. Type=simple
  18. ExecStart=/usr/bin/mono --debug /usr/lib/sonarr/bin/Sonarr.exe -nobrowser -data=/home/bakerboy448/.config/sonarr
  19. TimeoutStopSec=20
  20. KillMode=process
  21. Restart=on-failure
  22.  
  23. [Install]
  24. WantedBy=multi-user.target
  25.  
  26. # /etc/systemd/system/sonarr.service.d/override.conf
  27. [Unit]
  28. Description=Sonarr Daemon
  29. After=syslog.target network.target
  30.  
  31. [Service]
  32. # Change the user and group variables here.
  33. User=sonarr
  34. Group=media
  35.  
  36. Type=simple
  37.  
  38. # NOTE: Uncomment one of the two below ExecStart lines, based on if Sonarr is using NetCore or Mono.
  39. # NetCore install:
  40. #ExecStart=/opt/Sonarr/Sonarr -nobrowser -data=/home/sonarr/.config/Sonarr/
  41.  
  42. # Mono Install:
  43. ExecStart=/usr/bin/mono --debug /opt/Sonarr/Sonarr.exe -nobrowser -data=/data/.config/Sonarr/
  44.  
  45. TimeoutStopSec=20
  46. KillMode=process
  47. Restart=on-failure
  48.  
  49. [Install]
  50. WantedBy=multi-user.target
  51.  
Advertisement
Add Comment
Please, Sign In to add comment