summaryrefslogtreecommitdiff
path: root/units/system-delayed-target-trigger.service.in
blob: 491e347405d88acd220457a6d3589f0b1a9c94ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=System Delayed Target Trigger Service
Requires=sysinit.target
After=sysinit.target basic.target
Wants=wait-mount@opt-usr.service
After=wait-mount@opt-usr.service tlm.service
DefaultDependencies=no
RefuseManualStart=yes
RefuseManualStop=yes

[Service]
# At least one service must remain, and systemd will not enter the Startupfinished state.
# So this unit, which is oneshot type, becomes that one service.
Type=oneshot
EnvironmentFile=-/etc/systemd/delayed-target.conf
ExecStart=@rootbindir@/wait-default-target.sh System
ExecStart=@rootbindir@/delayed-target-trigger.sh
ExecStart=@rootbindir@/systemctl --no-block start delayed.target
RemainAfterExit=yes
SmackProcessLabel=System