mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
2168429f03
We decided to have snap-repair run in recover mode, so this TODO is obsolete. Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
15 lines
433 B
Plaintext
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
|