summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-11 08:00:00 +0000
committerSam James <sam@gentoo.org>2021-03-11 08:04:13 +0000
commitf070b28cadf7d6674e21f16beb2dd54f289e7248 (patch)
tree4963f73d1ad4815ea1da25ca4cf9b6b0c0f112d9 /app-admin/sagan/files
parentapp-admin/sagan-rules: add github upstream metadata (diff)
downloadgentoo-f070b28cadf7d6674e21f16beb2dd54f289e7248.tar.gz
gentoo-f070b28cadf7d6674e21f16beb2dd54f289e7248.tar.bz2
gentoo-f070b28cadf7d6674e21f16beb2dd54f289e7248.zip
app-admin/sagan: add 2.0.1
Closes: https://bugs.gentoo.org/628604 Closes: https://bugs.gentoo.org/520610 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/sagan/files')
-rw-r--r--app-admin/sagan/files/sagan.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-admin/sagan/files/sagan.service b/app-admin/sagan/files/sagan.service
new file mode 100644
index 000000000000..30a0e12822a0
--- /dev/null
+++ b/app-admin/sagan/files/sagan.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Sagan daemon
+Documentation=https://sagan.readthedocs.io/
+Before=rsyslog.service syslog-ng.service
+
+[Service]
+User=sagan
+Group=sagan
+ExecStart=/usr/bin/sagan $OPTIONS
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target