1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-18 06:03:39 +03:00
one/share/pkgs/CentOS7/opennebula-scheduler.service

21 lines
353 B
SYSTEMD
Raw Normal View History

[Unit]
Description=OpenNebula Cloud Scheduler Daemon
After=syslog.target
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