/lib/systemd/system/opennebula.service is in opennebula 4.12.3+dfsg-3.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | [Unit]
Description=OpenNebula Cloud Controller Daemon
Documentation=man:oned
After=network.target
After=remote-fs.target
After=mysql.service
Before=opennebula-scheduler.service
BindTo=opennebula-scheduler.service
[Service]
Type=simple
Group=oneadmin
User=oneadmin
ExecStart=/usr/bin/oned -f
ExecStop=/bin/kill -TERM $MAINPID
[Install]
WantedBy=multi-user.target
|