github.com/Lephar/snapd@v0.0.0-20210825215435-c7fba9cef4d2/data/systemd/snapd.service.in (about)

     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  
     8  [Service]
     9  # Disabled because it breaks lxd
    10  # (https://bugs.launchpad.net/snapd/+bug/1709536)
    11  #Nice=-5
    12  OOMScoreAdjust=-900
    13  ExecStart=@libexecdir@/snapd/snapd
    14  EnvironmentFile=-@SNAPD_ENVIRONMENT_FILE@
    15  Restart=always
    16  WatchdogSec=5m
    17  Type=notify
    18  SuccessExitStatus=42
    19  RestartPreventExitStatus=42
    20  KillMode=process
    21  
    22  [Install]
    23  WantedBy=multi-user.target