summarylogtreecommitdiffstats
path: root/agate@.service
diff options
context:
space:
mode:
authorMidAutumnMoon2021-02-04 14:43:54 +0800
committerMidAutumnMoon2021-02-04 14:43:54 +0800
commit910d90d5882f8105d84c7231c0d49d22ae640653 (patch)
treee53c9567ebd3e3856b69b14d374850f357ce9180 /agate@.service
downloadaur-910d90d5882f8105d84c7231c0d49d22ae640653.tar.gz
Ready to publish package.
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