mirror of
https://github.com/OpenNebula/one.git
synced 2026-10-30 00:28:27 +09:00
M #-: Drop forced logrotate on service start from systemd units (#4262)
* Fixup path when removing other arch cbc solver * Drop forced logrotate on service start from systemd units
This commit is contained in:
1 parent
d806c4bd22
commit
cef1db4ff2
6 files changed
-6
No files matched your search
@@ -11,7 +11,6 @@ Type=simple
|
||||
Group=oneadmin
|
||||
User=oneadmin
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
ExecStartPre=-/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-fireedge -s /var/lib/one/.logrotate.status
|
||||
ExecStart=/bin/sh -c 'exec node /usr/lib/one/fireedge/dist/index.js >>/var/log/one/fireedge.log 2>>/var/log/one/fireedge.error'
|
||||
StartLimitInterval=60
|
||||
StartLimitBurst=3
|
||||
|
||||
@@ -8,7 +8,6 @@ AssertFileNotEmpty=/var/lib/one/.one/oneflow_auth
|
||||
Type=simple
|
||||
Group=oneadmin
|
||||
User=oneadmin
|
||||
ExecStartPre=-/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-flow -s /var/lib/one/.logrotate.status
|
||||
ExecStart=/usr/bin/ruby /usr/lib/one/oneflow/oneflow-server.rb
|
||||
StartLimitInterval=60
|
||||
StartLimitBurst=3
|
||||
|
||||
@@ -8,7 +8,6 @@ AssertFileNotEmpty=/var/lib/one/.one/oneform_auth
|
||||
Type=simple
|
||||
Group=oneadmin
|
||||
User=oneadmin
|
||||
ExecStartPre=-/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-form -s /var/lib/one/.logrotate.status
|
||||
ExecStart=/usr/bin/ruby /usr/lib/one/oneform/oneform-server.rb
|
||||
StartLimitInterval=60
|
||||
StartLimitBurst=3
|
||||
|
||||
@@ -8,7 +8,6 @@ AssertFileNotEmpty=/var/lib/one/.one/onegate_auth
|
||||
Type=simple
|
||||
Group=oneadmin
|
||||
User=oneadmin
|
||||
ExecStartPre=-/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-gate -s /var/lib/one/.logrotate.status
|
||||
ExecStart=/usr/bin/ruby /usr/lib/one/onegate/onegate-server.rb
|
||||
StartLimitInterval=60
|
||||
StartLimitBurst=3
|
||||
|
||||
@@ -8,7 +8,6 @@ Type=simple
|
||||
Group=oneadmin
|
||||
User=oneadmin
|
||||
EnvironmentFile=-/var/run/one/ssh-agent.env
|
||||
ExecStartPre=-/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-hem -s /var/lib/one/.logrotate.status
|
||||
ExecStart=/usr/bin/ruby /usr/lib/one/onehem/onehem-server.rb
|
||||
StartLimitInterval=60
|
||||
StartLimitBurst=3
|
||||
|
||||
@@ -14,7 +14,6 @@ Group=oneadmin
|
||||
User=oneadmin
|
||||
Environment="PATH=/usr/lib/one/sh/override:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
EnvironmentFile=-/var/run/one/ssh-agent.env
|
||||
ExecStartPre=-/usr/sbin/logrotate -f /etc/logrotate.d/opennebula -s /var/lib/one/.logrotate.status
|
||||
ExecStartPre=/usr/share/one/pre_cleanup
|
||||
ExecStart=/usr/bin/oned -f
|
||||
ExecStopPost=/usr/share/one/follower_cleanup
|
||||
|
||||
Reference in new issue
Block a user