summarylogtreecommitdiffstats
path: root/cwtch-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'cwtch-server.service')
-rw-r--r--cwtch-server.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/cwtch-server.service b/cwtch-server.service
new file mode 100644
index 000000000000..b949c3be1e73
--- /dev/null
+++ b/cwtch-server.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Cwtch Server
+Requires=tor.service
+After=tor.service
+
+[Service]
+Type=simple
+User=cwtch
+Group=cwtch
+Restart=always
+WorkingDirectory=/var/lib/cwtch/
+ExecStart=/usr/bin/cwtch-server
+
+[Install]
+WantedBy=multi-user.target