Add geomyidae.service systemd file to rc.d directory. - geomyidae - A small C-based gopherd.
HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 2b8f92e1e0d9383f3e78c687946a802ab3bdd57a
DIR parent 081bf16cbcdd5472553d757ed2787f9e6540db56
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Mon, 28 Mar 2022 18:35:42 +0200
Add geomyidae.service systemd file to rc.d directory.
Thanks sz4bo.david@gmail.com for the patch!
Diffstat:
A rc.d/geomyidae.service | 14 ++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)
---
DIR diff --git a/rc.d/geomyidae.service b/rc.d/geomyidae.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Geomyidae Gopher Server
+After=network.target
+Wants=network.target
+StartLimitBurst=5
+StartLimitIntervalSec=1
+[Service]
+Type=forking
+Restart=on-abnormal
+RestartSec=1
+User=root
+ExecStart=/usr/local/sbin/geomyidae -l /var/log/geomyidae.log -b /var/gopher -p 70
+[Install]
+WantedBy=multi-user.target