mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-06 13:17:42 +03:00
20 lines
482 B
Desktop File
20 lines
482 B
Desktop File
[Unit]
|
|
Description=OpenNebula Gate Service
|
|
After=syslog.target network.target
|
|
After=opennebula.service
|
|
AssertFileNotEmpty=/var/lib/one/.one/onegate_auth
|
|
|
|
[Service]
|
|
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
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|