Advertisement
Kbocek

mythbackend.service

Jul 22nd, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. [Unit]
  2. Description=MythTV backend service
  3. # The following line will cause mythbackend to be terminated if the database dies.
  4. # If you do not want this then use a weaker binding such as "Requires" or "Wants".
  5. #BindsTo=mysql.service
  6. Wants=network-online.target
  7. #After=mysql.service network-online.target
  8.  
  9. # Persistently named adapters
  10. # Needs a systemd tag added to your udev persistent naming rules
  11. #Requires=dev-dvb-adapter0-frontend0.device
  12. #After=dev-dvb-adapter0-frontend0.device
  13.  
  14. [Service]
  15. # Wait for a dbus notification from mythbackend before starting other services
  16. # This is enabled by default 0.28 onwards (may be in 0.27 as well)
  17. # To disable this change type to simple
  18. Type=notify
  19. NotifyAccess=main
  20.  
  21. # Allow core dumps
  22. # The core resource limit on the user specified below can reduce what
  23. # is specified here. So it needs to be set as well.
  24. LimitCORE=infinity
  25.  
  26. User=mythtv
  27.  
  28. StandardOutput=null
  29. StandardError=journal
  30.  
  31. ExecStart=/usr/bin/mythbackend $MYTHBACKEND_ARGS
  32.  
  33. #[Install]
  34. WantedBy=multi-user.target
  35.  
  36. # Whether systemd will continue over-watch and restart on any halt
  37. #Restart=on-failure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement