aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/README8
-rw-r--r--contrib/gmid.service14
2 files changed, 21 insertions, 1 deletions
diff --git a/contrib/README b/contrib/README
index 1457ba5..be29c44 100644
--- a/contrib/README
+++ b/contrib/README
@@ -1,6 +1,12 @@
-This directory is for additional contributed files which may be useful.
+This directory is for additional contributed files which may be
+useful.
+
+gmid.service
+
+ Simple systemd service file.
vim
Syntax highlighting of gmid configuration for vim, to be
placed into ~/.vim/ or /usr/share/vim/vimfiles.
+
diff --git a/contrib/gmid.service b/contrib/gmid.service
new file mode 100644
index 0000000..3aedb92
--- /dev/null
+++ b/contrib/gmid.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=The gmid Gemini server
+After=syslog.target network.target
+Wants=network-online.target
+
+[Service]
+Type=forking
+ExecStart=/usr/local/bin/gmid -c /etc/gmid.conf
+# to start the daemon as a dedicated user:
+#User=_gmid
+#Group=_gmid
+
+[Install]
+WantedBy=multi-user.target