~sfr/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH cassini] Add systemd service file

Details
Message ID
<20211224143106.1517364-1-amolith@secluded.site>
DKIM signature
pass
Download raw message
Patch: +18 -0
---
 init-scripts/cassini.service | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 init-scripts/cassini.service

diff --git a/init-scripts/cassini.service b/init-scripts/cassini.service
new file mode 100644
index 0000000..1ba82d8
--- /dev/null
+++ b/init-scripts/cassini.service
@@ -0,0 +1,18 @@
[Unit]
Description=Gemini webring
After=network.target

[Service]
Environment="CASSINI_CERT=cert.pem"
Environment="CASSINI_KEY=key.pem"
Environment="CASSINI_LIST=ring.txt"
Environment="CASSINI_INDEX=index.gmi"
User=gemini
Group=gemini
WorkingDirectory=/path/to/ring
ExecStart=/path/to/cassini --cert "$CASSINI_CERT" --key "$CASSINI_KEY" --list "$CASSINI_LIST" --index "$CASSINI_INDEX"
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target
-- 
2.34.1
Details
Message ID
<CGNNS07VMKVH.2YRXCQZNF2TZ6@bellwether>
In-Reply-To
<20211224143106.1517364-1-amolith@secluded.site> (view parent)
DKIM signature
missing
Download raw message
Thanks!

To git@git.sr.ht:~sfr/cassini
   cfd5a96..c5453a5  master -> master
Reply to thread Export thread (mbox)