summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-grub-update.service
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd/vyos-grub-update.service')
-rw-r--r--src/systemd/vyos-grub-update.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/systemd/vyos-grub-update.service b/src/systemd/vyos-grub-update.service
new file mode 100644
index 000000000..522b13a33
--- /dev/null
+++ b/src/systemd/vyos-grub-update.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Update GRUB loader configuration structure
+After=local-fs.target
+Before=vyos-router.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/libexec/vyos/system/grub_update.py
+TimeoutSec=5
+KillMode=process
+StandardOutput=journal+console
+
+[Install]
+WantedBy=vyos-router.service \ No newline at end of file