16 lines
327 B
INI
16 lines
327 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]
|
|
Type=simple
|
|
Restart=never
|
|
ExecPreStart=-apt-get update
|
|
ExecStart=-apt-get upgrade -y galmon
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|