2020-01-24 23:24:13 -07:00
|
|
|
[Unit]
|
|
|
|
Description=Upgrade Galmon Software
|
|
|
|
After=network.target nss-lookup.target
|
|
|
|
StartLimitIntervalSec=0
|
|
|
|
# require that the configuration exists
|
|
|
|
ConditionPathExists=/etc/default/galmon
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2020-01-25 11:47:49 -07:00
|
|
|
Restart=no
|
|
|
|
ExecStartPre=+apt-get update
|
2020-01-25 11:17:02 -07:00
|
|
|
ExecStart=+apt-get upgrade -y galmon
|
2020-01-24 23:24:13 -07:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|