Files
snapd/data/systemd/snapd.snap-repair.service.in
T
Ian Johnson 2168429f03 data/systemd/snapd.snap-repair.*: rm obsolete TODO:UC20's
We decided to have snap-repair run in recover mode, so this TODO is obsolete.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2021-02-23 16:43:41 -06:00

15 lines
433 B
Plaintext

[Unit]
Description=Automatically fetch and run repair assertions
Documentation=man:snap(1)
# don't run on classic
ConditionKernelCommandLine=|snap_core
ConditionKernelCommandLine=|snapd_recovery_mode
[Service]
Type=oneshot
ExecStart=@libexecdir@/snapd/snap-repair run
EnvironmentFile=-@SNAPD_ENVIRONMENT_FILE@
Environment=SNAP_REPAIR_FROM_TIMER=1
# There is no need to start this, the timer will run it
# X-Snapd-Snap: do-not-start