summarylogtreecommitdiffstats
path: root/nutch-rest.service
diff options
context:
space:
mode:
authorWebDawg2016-10-09 17:26:18 -0600
committerWebDawg2016-10-09 17:26:18 -0600
commit569e289778309c456a3f0e9ffbd074440996d188 (patch)
treea822e0cf8f09837eaea1ee357c517ca435ef7809 /nutch-rest.service
parent767fd43c293d8e471b354bc09cc05b89cbd73b8a (diff)
downloadaur-569e289778309c456a3f0e9ffbd074440996d188.tar.gz
more services
Diffstat (limited to 'nutch-rest.service')
-rw-r--r--nutch-rest.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/nutch-rest.service b/nutch-rest.service
new file mode 100644
index 000000000000..e8398233a960
--- /dev/null
+++ b/nutch-rest.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Nutch open source web crawler rest api
+After=network.target
+
+[Service]
+Type=simple
+User=nutch
+Group=nutch
+PrivateTmp=true
+WorkingDirectory=/opt/nutch
+ExecStart=/opt/nutch/bin/StartNutchServerRest.bash
+
+[Install]
+WantedBy=multi-user.target