OSDN Git Service

New service: gemserv.
authormobinmob <mobinmob@disroot.org>
Mon, 26 Apr 2021 20:01:45 +0000 (23:01 +0300)
committermobinmob <mobinmob@disroot.org>
Mon, 26 Apr 2021 20:01:45 +0000 (23:01 +0300)
usr/share/66/service/gemserv [new file with mode: 0644]

diff --git a/usr/share/66/service/gemserv b/usr/share/66/service/gemserv
new file mode 100644 (file)
index 0000000..30cbf2f
--- /dev/null
@@ -0,0 +1,15 @@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "gemini server in rust"
+@user = ( root )
+
+[start]
+@runas = _gemserv
+@execute = ( execl-cmdline -s { gemserv ${CONF} } )
+
+
+[environment]
+# The conf file must exist and be correct.
+CONF=!/etc/gemserv.conf
+