summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-system-update.service
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-22 07:59:59 +0200
committerGitHub <noreply@github.com>2022-09-22 07:59:59 +0200
commitcd1875cb15211d733630b97f1dc7f73f11061927 (patch)
tree5d71bedc1924b29d96cbae5d12064e2bf69c2287 /src/systemd/vyos-system-update.service
parent7ba1f6444d1b7a8d25715623daf75f81521d9667 (diff)
parenta8e73794ec421ad2bb0053214504f20a1dc3b21a (diff)
downloadvyos-1x-cd1875cb15211d733630b97f1dc7f73f11061927.tar.gz
vyos-1x-cd1875cb15211d733630b97f1dc7f73f11061927.zip
Merge pull request #1521 from sever-sever/T3476
update-check: T3476: Allow update-check for VyOS images
Diffstat (limited to 'src/systemd/vyos-system-update.service')
-rw-r--r--src/systemd/vyos-system-update.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/systemd/vyos-system-update.service b/src/systemd/vyos-system-update.service
new file mode 100644
index 000000000..032e5a14c
--- /dev/null
+++ b/src/systemd/vyos-system-update.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=VyOS system udpate-check service
+After=network.target vyos-router.service
+
+[Service]
+Type=simple
+Restart=always
+ExecStart=/usr/bin/python3 /usr/libexec/vyos/system/vyos-system-update-check.py --config /run/vyos-system-update.conf
+
+[Install]
+WantedBy=multi-user.target