summarylogtreecommitdiffstats
path: root/opennebula.service
diff options
context:
space:
mode:
authorRafael Reggiani Manzo2016-01-17 10:45:15 -0200
committerRafael Reggiani Manzo2016-02-17 19:45:45 -0200
commit293ecfd7537f2fc53a7be2c3418bf753b832d535 (patch)
treef50cd2acdea4187c14c0df3c24645ad7871be266 /opennebula.service
parentc6bbcca199e3fd969ad41ba16fa8a29087954d35 (diff)
downloadaur-293ecfd7537f2fc53a7be2c3418bf753b832d535.tar.gz
Fix systemd service file
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 582ef3c3917..106c3edcbd6 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