summarylogtreecommitdiffstats
path: root/opennebula.service
diff options
context:
space:
mode:
authorRafael Reggiani Manzo2016-01-16 01:06:02 -0200
committerRafael Reggiani Manzo2016-02-17 19:43:42 -0200
commitef76754ef36305102c99e421a5f4fbdd811190f2 (patch)
treed9a26f9e9be5eaf8ca99cfbf5f44f292df8f00cc /opennebula.service
downloadaur-ef76754ef36305102c99e421a5f4fbdd811190f2.tar.gz
Import original PACKAGE from AUR3
This is a good starting point.
Diffstat (limited to 'opennebula.service')
-rw-r--r--opennebula.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/opennebula.service b/opennebula.service
new file mode 100644
index 000000000000..db7171423369
--- /dev/null
+++ b/opennebula.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=OpenNebula management
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/su - oneadmin /usr/bin/one start
+ExecStop=/usr/bin/su - oneadmin /usr/bin/one stop
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes