galmon/debian/galmon.galmon-upgrade.service

17 lines
367 B
INI

[Unit]
Description=Upgrade Galmon Software
After=network.target nss-lookup.target
StartLimitIntervalSec=0
# require that the configuration exists
ConditionPathExists=/etc/default/galmon
[Service]
Environment=DEBIAN_FRONTEND=noninteractive
Type=simple
Restart=no
ExecStartPre=+apt-get update
ExecStart=+apt-get install -y galmon
[Install]
WantedBy=multi-user.target