summarylogtreecommitdiffstats
path: root/opennebula.service
diff options
context:
space:
mode:
Diffstat (limited to 'opennebula.service')
-rw-r--r--opennebula.service13
1 files changed, 7 insertions, 6 deletions
diff --git a/opennebula.service b/opennebula.service
index 582ef3c3917e..106c3edcbd63 100644
--- a/opennebula.service
+++ b/opennebula.service
@@ -3,9 +3,10 @@ Description=OpenNebula management
[Service]
User=oneadmin
-Type=oneshot
-ExecStart=/srv/cloud/one/bin/one start
-ExecStop=/srv/cloud/one/bin/one stop
-TimeoutSec=0
-StandardInput=tty
-RemainAfterExit=yes
+Group=cloud
+Type=forking
+ExecStart=/usr/bin/one start
+ExecStop=/usr/bin/one stop
+
+[Install]
+WantedBy=multi-user.target