diff options
author | Rafael Reggiani Manzo | 2016-01-16 09:11:40 -0200 |
---|---|---|
committer | Rafael Reggiani Manzo | 2016-02-17 19:45:45 -0200 |
commit | 3416f3fe951e21077474fba97ab36b64b06b5d18 (patch) | |
tree | 098f98aa732f9b6e9e75adfea82998e71ab39578 /opennebula.service | |
parent | 774a2bb99a63b4a032660ebc772ce1f9ccad0de3 (diff) | |
download | aur-3416f3fe951e21077474fba97ab36b64b06b5d18.tar.gz |
Fix systemd service file
It was trying to perform a su which froze requiring password.
Diffstat (limited to 'opennebula.service')
-rw-r--r-- | opennebula.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/opennebula.service b/opennebula.service index db7171423369..582ef3c3917e 100644 --- a/opennebula.service +++ b/opennebula.service @@ -2,9 +2,10 @@ Description=OpenNebula management [Service] +User=oneadmin Type=oneshot -ExecStart=/usr/bin/su - oneadmin /usr/bin/one start -ExecStop=/usr/bin/su - oneadmin /usr/bin/one stop +ExecStart=/srv/cloud/one/bin/one start +ExecStop=/srv/cloud/one/bin/one stop TimeoutSec=0 StandardInput=tty RemainAfterExit=yes |