mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-24 02:03:52 +03:00
F OpenNebula/one#5178: Ignore logrotate's failure (#585)
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
This commit is contained in:
parent
10cc0c57ca
commit
f1d7811ac2
@ -37,7 +37,7 @@ fi
|
||||
|
||||
msg "Rotate log to start with an empty one"
|
||||
/usr/sbin/logrotate -s /var/lib/one/.logrotate.status \
|
||||
-f /etc/logrotate.d/opennebula-fireedge
|
||||
-f /etc/logrotate.d/opennebula-fireedge || true
|
||||
|
||||
msg "Service started!"
|
||||
exec /usr/bin/node /usr/lib/one/fireedge/dist/index.js
|
||||
|
@ -37,7 +37,7 @@ fi
|
||||
|
||||
msg "Rotate log to start with an empty one"
|
||||
/usr/sbin/logrotate -s /var/lib/one/.logrotate.status \
|
||||
-f /etc/logrotate.d/opennebula-flow
|
||||
-f /etc/logrotate.d/opennebula-flow || true
|
||||
|
||||
msg "Service started!"
|
||||
exec /usr/bin/ruby /usr/lib/one/oneflow/oneflow-server.rb
|
||||
|
@ -37,7 +37,7 @@ fi
|
||||
|
||||
msg "Rotate log to start with an empty one"
|
||||
/usr/sbin/logrotate -s /var/lib/one/.logrotate.status \
|
||||
-f /etc/logrotate.d/opennebula-gate
|
||||
-f /etc/logrotate.d/opennebula-gate || true
|
||||
|
||||
msg "Service started!"
|
||||
exec /usr/bin/ruby /usr/lib/one/onegate/onegate-server.rb
|
||||
|
@ -40,7 +40,7 @@ export SSH_AUTH_SOCK
|
||||
|
||||
msg "Rotate log to start with an empty one"
|
||||
/usr/sbin/logrotate -s /var/lib/one/.logrotate.status \
|
||||
-f /etc/logrotate.d/opennebula-hem
|
||||
-f /etc/logrotate.d/opennebula-hem || true
|
||||
|
||||
msg "Service started!"
|
||||
exec /usr/bin/ruby /usr/lib/one/onehem/onehem-server.rb
|
||||
|
@ -64,7 +64,7 @@ fi
|
||||
|
||||
msg "Rotate log to start with an empty one"
|
||||
/usr/sbin/logrotate -s /var/lib/one/.logrotate.status \
|
||||
-f /etc/logrotate.d/opennebula-novnc
|
||||
-f /etc/logrotate.d/opennebula-novnc || true
|
||||
|
||||
# now we will stay in a loop monitoring and faking the foreground process...
|
||||
while sleep 1 ; do
|
||||
|
@ -37,7 +37,7 @@ fi
|
||||
|
||||
msg "Rotate log to start with an empty one"
|
||||
/usr/sbin/logrotate -s /var/lib/one/.logrotate.status \
|
||||
-f /etc/logrotate.d/opennebula-scheduler
|
||||
-f /etc/logrotate.d/opennebula-scheduler || true
|
||||
|
||||
msg "Service started!"
|
||||
exec /usr/bin/mm_sched
|
||||
|
@ -37,7 +37,7 @@ fi
|
||||
|
||||
msg "Rotate log to start with an empty one"
|
||||
/usr/sbin/logrotate -s /var/lib/one/.logrotate.status \
|
||||
-f /etc/logrotate.d/opennebula-sunstone
|
||||
-f /etc/logrotate.d/opennebula-sunstone || true
|
||||
|
||||
msg "Service started!"
|
||||
exec /usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb
|
||||
|
@ -65,7 +65,7 @@ fi
|
||||
|
||||
msg "Rotate log to start with an empty one"
|
||||
/usr/sbin/logrotate -s /var/lib/one/.logrotate.status \
|
||||
-f /etc/logrotate.d/opennebula
|
||||
-f /etc/logrotate.d/opennebula || true
|
||||
|
||||
msg "Service started!"
|
||||
exec /usr/bin/oned -f
|
||||
|
Loading…
x
Reference in New Issue
Block a user