summaryrefslogtreecommitdiff
path: root/pcr/yacy/yacy.service
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-28 04:47:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-28 04:47:55 -0300
commitff729803bb49198248d8a72931e9c5dee3cca67a (patch)
tree5a2804c3212a435c3679729fc7fd5cab5c800a55 /pcr/yacy/yacy.service
parentdee18d3b579f4bc4b949651389e1d96250e543fc (diff)
downloadabslibre-ff729803bb49198248d8a72931e9c5dee3cca67a.tar.gz
abslibre-ff729803bb49198248d8a72931e9c5dee3cca67a.tar.bz2
abslibre-ff729803bb49198248d8a72931e9c5dee3cca67a.zip
yacy: add new package to [pcr]
Diffstat (limited to 'pcr/yacy/yacy.service')
-rw-r--r--pcr/yacy/yacy.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/yacy/yacy.service b/pcr/yacy/yacy.service
new file mode 100644
index 000000000..4dd6d84cb
--- /dev/null
+++ b/pcr/yacy/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