summarylogtreecommitdiffstats
path: root/agate@.service
diff options
context:
space:
mode:
Diffstat (limited to 'agate@.service')
-rw-r--r--agate@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/agate@.service b/agate@.service
new file mode 100644
index 000000000000..8e2aa530bd8e
--- /dev/null
+++ b/agate@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Very simple server for the Gemini hypertext protocol.
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=simple
+User=agate
+EnvironmentFile=%i
+ExecStart=/usr/bin/agate $CONTENT $CERT $ADDR $HOSTNAME $LANG $OTHERS
+Restart=always
+
+[Install]
+WantedBy=multi-user.target