/lib/systemd/system/opennebula-scheduler.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 Scheduler Daemon
After=network.target
After=remote-fs.target
After=opennebula.service
BindTo=opennebula.service
[Service]
Type=simple
Group=oneadmin
User=oneadmin
ExecStart=/usr/bin/mm_sched
ExecStop=/bin/kill -TERM $MAINPID
PIDFile=/var/run/one/sched.pid
[Install]
WantedBy=multi-user.target
|