summarylogtreecommitdiffstats
path: root/opennebula-scheduler.service
blob: f82fa99d1db86f1bfd3b18fced98b69f011c08c4 (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=/run/one/sched.pid
Restart=always

[Install]
WantedBy=multi-user.target