summarylogtreecommitdiffstats
path: root/opennebula-onegate.service
diff options
context:
space:
mode:
Diffstat (limited to 'opennebula-onegate.service')
-rw-r--r--opennebula-onegate.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/opennebula-onegate.service b/opennebula-onegate.service
new file mode 100644
index 000000000000..8a0af846745e
--- /dev/null
+++ b/opennebula-onegate.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=OpenNebula onegate Server
+After=network.target local-fs.target remote-fs.target opennebula.service
+Requires=opennebula.service
+
+[Service]
+User=oneadmin
+Group=cloud
+Type=forking
+PermissionsStartOnly=true
+ExecStart=/usr/bin/onegate-server start
+ExecStop=/usr/bin/onegate-server stop
+
+[Install]
+WantedBy=multi-user.target