OSDN Git Service
(root)
/
avyssos
/
void-66-services.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ee2e63
)
New service: gemserv.
author
mobinmob
<mobinmob@disroot.org>
Mon, 26 Apr 2021 20:01:45 +0000
(23:01 +0300)
committer
mobinmob
<mobinmob@disroot.org>
Mon, 26 Apr 2021 20:01:45 +0000
(23:01 +0300)
usr/share/66/service/gemserv
[new file with mode: 0644]
patch
|
blob
diff --git a/usr/share/66/service/gemserv
b/usr/share/66/service/gemserv
new file mode 100644
(file)
index 0000000..
30cbf2f
--- /dev/null
+++ b/
usr/share/66/service/gemserv
@@ -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
+