2019-01-25 17:28:29 +00:00
|
|
|
[Unit]
|
2019-01-25 17:52:06 +00:00
|
|
|
Description=Run check_updates
|
2022-06-30 07:34:43 +00:00
|
|
|
OnFailure=systemd_failure_notify@%n.service
|
2022-08-23 16:55:27 +00:00
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
Requires=network-online.target
|
2019-01-25 17:28:29 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2022-08-23 16:55:27 +00:00
|
|
|
#ExecStartPre=/bin/bash -c 'until host captiveportal.myservermanager.com; do sleep 1; done'
|
2019-01-25 17:52:06 +00:00
|
|
|
ExecStart=check_updates
|
2019-01-25 17:28:29 +00:00
|
|
|
|
|
|
|
[Install]
|
2019-09-07 17:31:20 +00:00
|
|
|
WantedBy=default.target
|