Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:onielsen:Virtualization:Testing
opennebula
fix-for-opensuse-systemd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-for-opensuse-systemd.patch of Package opennebula
diff -ruN opennebula-5.2.0/share/pkgs/openSUSE/systemd/econe.service opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/econe.service --- opennebula-5.2.0/share/pkgs/openSUSE/systemd/econe.service 2016-10-17 10:39:32.000000000 +0200 +++ opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/econe.service 2017-01-05 21:56:32.707993011 +0100 @@ -5,12 +5,14 @@ After=one.service After=one_scheduler.service BindTo=one.service -!ConditionFileExists=/var/lock/one/.econe.lock +Wants=one.service +ConditionPathExists=!/var/lock/one/.econe.lock [Service] ExecStart=/bin/bash -c "/usr/bin/econe-server start" ExecStartPost=/usr/bin/touch /var/lock/one/.econe.lock ExecStop=/bin/kill -INT $MAINPID +ExecStopPost=/usr/bin/rm -f /var/lock/one/.econe.lock PIDFile=/var/run/one/econe.pid Type=simple Group=cloud diff -ruN opennebula-5.2.0/share/pkgs/openSUSE/systemd/one.service opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/one.service --- opennebula-5.2.0/share/pkgs/openSUSE/systemd/one.service 2016-10-17 10:39:32.000000000 +0200 +++ opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/one.service 2017-01-05 22:01:02.403949306 +0100 @@ -3,6 +3,8 @@ After=syslog.target After=network.target After=remote-fs.target +After=openvswitch-switch.service +After=mysql.service Before=one_scheduler.service # Do not start if the scheduler does not exist ConditionFileIsExecutable=/usr/bin/mm_sched @@ -11,7 +13,7 @@ ConditionPathIsDirectory=/var/run/one # The PID file for the process should not exist, we either have a # running process or the previous run did not exit cleanly -!ConditionPathExists=/var/run/one/oned.pid +ConditionPathIsDirectory=/var/log/one [Service] # Start daemon in forground mode, when starting as forking process the diff -ruN opennebula-5.2.0/share/pkgs/openSUSE/systemd/one_scheduler.service opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/one_scheduler.service --- opennebula-5.2.0/share/pkgs/openSUSE/systemd/one_scheduler.service 2016-10-17 10:39:32.000000000 +0200 +++ opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/one_scheduler.service 2017-01-05 22:02:33.829289440 +0100 @@ -5,7 +5,8 @@ After=remote-fs.target After=one.service BindTo=one.service -!ConditionFileExists=/var/run/one/sched.pid +Wants=one.service +ConditionPathExists=!/var/run/one/sched.pid [Service] EnvironmentFile=/etc/one/oned.conf diff -ruN opennebula-5.2.0/share/pkgs/openSUSE/systemd/oneflow.service opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/oneflow.service --- opennebula-5.2.0/share/pkgs/openSUSE/systemd/oneflow.service 2016-10-17 10:39:32.000000000 +0200 +++ opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/oneflow.service 2017-01-05 22:04:00.246555704 +0100 @@ -5,12 +5,14 @@ After=one.service After=one_scheduler.service BindTo=one.service -!ConditionFileExists=/var/lock/one/.oneflow.lock +Wants=one.service +ConditionPathExists=!/var/lock/one/.oneflow.lock [Service] ExecStart=/bin/bash -c "/usr/bin/oneflow-server start" ExecStartPost=/usr/bin/touch /var/lock/one/.oneflow.lock ExecStop=/bin/kill -INT $MAINPID +ExecStopPost=/usr/bin/rm -f /var/lock/one/.oneflow.lock PIDFile=/var/run/one/oneflow.pid Type=simple Group=cloud diff -ruN opennebula-5.2.0/share/pkgs/openSUSE/systemd/onegate.service opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/onegate.service --- opennebula-5.2.0/share/pkgs/openSUSE/systemd/onegate.service 2016-10-17 10:39:32.000000000 +0200 +++ opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/onegate.service 2017-01-05 22:05:42.072047182 +0100 @@ -5,12 +5,14 @@ After=one.service After=one_scheduler.service BindTo=one.service -!ConditionFileExists=/var/lock/one/.onegate.lock +Wants=one.service +ConditionPathExists=!/var/lock/one/.onegate.lock [Service] ExecStart=/bin/bash -c "/usr/bin/onegate-server start" ExecStartPost=/usr/bin/touch /var/lock/one/.onegate.lock ExecStop=/bin/kill -INT $MAINPID +ExecStopPost=/usr/bin/rm -f /var/lock/one/.onegate.lock PIDFile=/var/run/one/onegate.pid Type=simple Group=cloud diff -ruN opennebula-5.2.0/share/pkgs/openSUSE/systemd/sunstone.service opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/sunstone.service --- opennebula-5.2.0/share/pkgs/openSUSE/systemd/sunstone.service 2016-10-17 10:39:32.000000000 +0200 +++ opennebula-5.2.0-new/share/pkgs/openSUSE/systemd/sunstone.service 2017-01-05 22:07:23.785536427 +0100 @@ -5,11 +5,13 @@ After=one.service After=one_scheduler.service BindTo=one.service -!ConditionFileExists=/var/lock/one/.sunstone.lock +Wants=one.service +ConditionPathExists=!/var/lock/one/.sunstone.lock [Service] ExecStart=/bin/bash -c "sleep 5; /usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb > /var/log/one/sunstone.log 2>&1" ExecStop=/bin/kill -INT $MAINPID +ExecStopPost=/usr/bin/rm -f /var/lock/one/.sunstone.lock PIDFile=/var/run/one/sunstone.pid Type=simple Group=cloud
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor