summarylogtreecommitdiffstats
path: root/opennebula-scheduler.service
blob: 8d3bb2150fa32c8e65bc5545a1c57ae26d305e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=OpenNebula Cloud Scheduler Daemon
After=syslog.target network.target remote-fs.target opennebula.service
BindsTo=opennebula.service

[Service]
User=oneadmin
Group=cloud
Type=simple

ExecStart=/usr/bin/mm_sched
ExecStop=/bin/kill -TERM $MAINPID
PIDFile=/var/run/one/sched.pid
Restart=always

[Install]
WantedBy=multi-user.target