From ff729803bb49198248d8a72931e9c5dee3cca67a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 28 Mar 2016 04:47:55 -0300 Subject: yacy: add new package to [pcr] --- pcr/yacy/yacy.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pcr/yacy/yacy.service (limited to 'pcr/yacy/yacy.service') 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 -- cgit v1.2.3