summaryrefslogtreecommitdiffstats
path: root/vespabase/src
diff options
context:
space:
mode:
authorVegard Sjonfjell <vegardsjo@gmail.com>2016-06-21 16:11:19 +0200
committerGitHub <noreply@github.com>2016-06-21 16:11:19 +0200
commitfd81b0d4d0391e4d9e841eec710881848c6c7e4a (patch)
tree2f068a4a1bca0a3735eafbd10546300f8096dd6d /vespabase/src
parentff7dac0c71e29d18d4b873518e07e636faf2f9cf (diff)
First draft of systemd service unit configuration files (#133)
systemd service unit configuration files for vespa (services) and vespa-configserver
Diffstat (limited to 'vespabase/src')
-rw-r--r--vespabase/src/vespa-configserver.service.in11
-rw-r--r--vespabase/src/vespa.service.in11
2 files changed, 22 insertions, 0 deletions
diff --git a/vespabase/src/vespa-configserver.service.in b/vespabase/src/vespa-configserver.service.in
new file mode 100644
index 00000000000..8928fe87f20
--- /dev/null
+++ b/vespabase/src/vespa-configserver.service.in
@@ -0,0 +1,11 @@
+[Unit]
+Description=Vertical Search Platform Config Server
+
+[Service]
+Type=forking
+PIDFile=@CMAKE_INSTALL_PREFIX@/var/run/configserver.pid
+ExecStart=@CMAKE_INSTALL_PREFIX@/bin/vespa-start-configserver
+ExecStop=@CMAKE_INSTALL_PREFIX@/bin/vespa-stop-configserver
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file
diff --git a/vespabase/src/vespa.service.in b/vespabase/src/vespa.service.in
new file mode 100644
index 00000000000..f46c7ecdcb6
--- /dev/null
+++ b/vespabase/src/vespa.service.in
@@ -0,0 +1,11 @@
+[Unit]
+Description=Vertical Search Platform
+
+[Service]
+Type=forking
+PIDFile=@CMAKE_INSTALL_PREFIX@/var/run/sentinel.pid
+ExecStart=@CMAKE_INSTALL_PREFIX@/bin/vespa-start-services
+ExecStop=@CMAKE_INSTALL_PREFIX@/bin/vespa-stop-services
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file