commit 2b8f92e1e0d9383f3e78c687946a802ab3bdd57a parent 081bf16cbcdd5472553d757ed2787f9e6540db56 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:
rc.d/geomyidae.service | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
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