snapd.service 475 B

1234567891011121314151617181920212223
  1. [Unit]
  2. Description=Snap Daemon
  3. Requires=snapd.socket
  4. OnFailure=snapd.failure.service
  5. # This is handled by snapd
  6. # X-Snapd-Snap: do-not-start
  7. [Service]
  8. # Disabled because it breaks lxd
  9. # (https://bugs.launchpad.net/snapd/+bug/1709536)
  10. #Nice=-5
  11. OOMScoreAdjust=-900
  12. ExecStart=/usr/lib/snapd/snapd
  13. EnvironmentFile=-/etc/environment
  14. Restart=always
  15. WatchdogSec=5m
  16. Type=notify
  17. SuccessExitStatus=42
  18. RestartPreventExitStatus=42
  19. KillMode=process
  20. [Install]
  21. WantedBy=multi-user.target