summaryrefslogtreecommitdiffstats
path: root/deployment/zip/src/main/release/conf/oclip.service
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/zip/src/main/release/conf/oclip.service')
-rw-r--r--deployment/zip/src/main/release/conf/oclip.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/deployment/zip/src/main/release/conf/oclip.service b/deployment/zip/src/main/release/conf/oclip.service
new file mode 100644
index 00000000..1492ac0d
--- /dev/null
+++ b/deployment/zip/src/main/release/conf/oclip.service
@@ -0,0 +1,22 @@
+#
+#systemd file: /etc/systemd/system/oclip.service
+#
+[Unit]
+Description=Open CLI Platform gRPC service
+
+[Service]
+#User=ubuntu
+
+#change this to your workspace
+WorkingDirectory=/opt/oclip
+
+#path to executable.
+ExecStart=/opt/oclip/bin/oclip-service.sh
+
+#SuccessExitStatus=143
+#TimeoutStopSec=10
+#Restart=on-failure
+#RestartSec=5
+
+[Install]
+WantedBy=multi-user.target