aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/run-agl-postinsts/run-agl-postinsts/run-agl-postinsts.service
blob: 8f8667db6984c653369e8a77b1bd632a79b4f120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Run pending agl postinsts
DefaultDependencies=no
After=#SYSTEMD_SERVICE_AFTER#
Before=#SYSTEMD_SERVICE_BEFORE#
ConditionPathExists=#SYSCONFDIR#/agl-postinsts

[Service]
Type=oneshot
StandardOutput=journal+console
ExecStart=#SBINDIR#/run-agl-postinsts
ExecStartPost=#BASE_BINDIR#/systemctl disable run-agl-postinsts.service
RemainAfterExit=No
TimeoutSec=0

[Install]
WantedBy=multi-user.target