github.com/kubiko/snapd@v0.0.0-20201013125620-d4f3094d9ddf/data/systemd/snapd.snap-repair.service.in (about)

     1  [Unit]
     2  Description=Automatically fetch and run repair assertions
     3  Documentation=man:snap(1)
     4  # don't run on classic
     5  ConditionKernelCommandLine=|snap_core
     6  # TODO:UC20: only enable this in run mode?
     7  ConditionKernelCommandLine=|snapd_recovery_mode
     8  
     9  [Service]
    10  Type=oneshot
    11  ExecStart=@libexecdir@/snapd/snap-repair run
    12  EnvironmentFile=-@SNAPD_ENVIRONMENT_FILE@
    13  Environment=SNAP_REPAIR_FROM_TIMER=1
    14  # There is no need to start this, the timer will run it
    15  # X-Snapd-Snap: do-not-start