mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-18 06:03:39 +03:00
23939000b7
Based on openSUSE systemd scripts by Robert Schweikert *.service files go in /lib/systemd/system opennebula.conf goes in /lib/tmpfiles.d sunstone, oneflow and onegate lose the *.error log files. That information can be retrieved using systemctl status, for example for sunstone: systemctl status -l opennebula-sunstone
21 lines
353 B
Desktop File
21 lines
353 B
Desktop File
[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
|
|
|