mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
This commit is contained in:
parent
8e20605ef2
commit
ca1a4ec320
@ -12,7 +12,7 @@ Group=oneadmin
|
||||
User=oneadmin
|
||||
|
||||
ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb
|
||||
ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula
|
||||
ExecStartPre=-/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula
|
||||
PIDFile=/var/run/one/sunstone.pid
|
||||
|
||||
[Install]
|
||||
|
@ -18,7 +18,7 @@ ExecStart=/usr/bin/oned -f
|
||||
# Log file location must exist
|
||||
ExecStartPre=/bin/mkdir -p /var/log/one
|
||||
ExecStartPre=/bin/chown oneadmin:oneadmin /var/log/one
|
||||
ExecStartPre=/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula
|
||||
ExecStartPre=-/usr/sbin/logrotate -s /tmp/logrotate.state -f /etc/logrotate.d/opennebula
|
||||
ExecStop=/bin/kill -TERM $MAINPID
|
||||
PIDFile=/var/run/one/oned.pid
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user