summaryrefslogtreecommitdiff
path: root/pcr/freenet/freenet.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/freenet/freenet.service')
-rw-r--r--pcr/freenet/freenet.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/freenet/freenet.service b/pcr/freenet/freenet.service
new file mode 100644
index 000000000..23db0fb1d
--- /dev/null
+++ b/pcr/freenet/freenet.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=An encrypted network without censorship and monitoring.
+After=network.target
+
+[Service]
+Type=forking
+User=freenet
+ExecStart=/opt/freenet/run.sh start --quiet
+ExecStop=/opt/freenet/run.sh stop --quiet
+WorkingDirectory=/opt/freenet
+
+[Install]
+WantedBy=multi-user.target