summarylogtreecommitdiffstats
path: root/yacy.service
diff options
context:
space:
mode:
authorAndreas Wagner2015-06-11 10:38:15 -0400
committerAndreas Wagner2015-06-11 10:38:15 -0400
commitec7b8617f341a902578da1d68f4f239c4787c368 (patch)
tree4f1049bcdd6787be87c3450a96dcf577ba0f66b1 /yacy.service
downloadaur-ec7b8617f341a902578da1d68f4f239c4787c368.tar.gz
Initial import
Diffstat (limited to 'yacy.service')
-rw-r--r--yacy.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/yacy.service b/yacy.service
new file mode 100644
index 000000000000..4dd6d84cb279
--- /dev/null
+++ b/yacy.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=YaCy P2P Web Search
+After=network.target
+
+[Service]
+PIDFile=/opt/yacy/.yacy/yacy.pid
+ExecStart=/opt/yacy/yacy start
+ExecReload=/opt/yacy/yacy restart
+ExecStop=/opt/yacy/yacy stop
+User=yacy
+TimeoutStopSec=50
+
+[Install]
+WantedBy=multi-user.target