summaryrefslogtreecommitdiff
path: root/roles/greenbone/server/templates/systemd.service.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-01-23 20:56:21 +0100
committerChristian Pointner <equinox@spreadspace.org>2024-01-23 20:56:21 +0100
commit3ac9da59b2feee3c27cb8be3d2bd093f45742010 (patch)
tree0b4b39f82460949f0148552b029f54dfaa5ddcba /roles/greenbone/server/templates/systemd.service.j2
parentlvm/volume: make use of lvm/device (diff)
greenbone: add daily feed sync
Diffstat (limited to 'roles/greenbone/server/templates/systemd.service.j2')
-rw-r--r--roles/greenbone/server/templates/systemd.service.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/greenbone/server/templates/systemd.service.j2 b/roles/greenbone/server/templates/systemd.service.j2
new file mode 100644
index 00000000..42a92760
--- /dev/null
+++ b/roles/greenbone/server/templates/systemd.service.j2
@@ -0,0 +1,8 @@
+[Unit]
+Description=greenbone feed update for {{ greenbone_server_hostname }}
+After=docker.service
+Requires=docker.service
+
+[Service]
+Type=oneshot
+ExecStart="/usr/local/bin/update-greenbone.{{ greenbone_server_hostname }}"