mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-06 13:17:42 +03:00
19 lines
418 B
Desktop File
19 lines
418 B
Desktop File
[Unit]
|
|
Description=OpenNebula noVNC Server
|
|
After=syslog.target network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
Group=oneadmin
|
|
User=oneadmin
|
|
ExecStartPre=-/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-novnc -s /var/lib/one/.logrotate.status
|
|
ExecStart=/usr/bin/novnc-server start
|
|
PIDFile=/var/lock/one/.novnc.lock
|
|
StartLimitInterval=60
|
|
StartLimitBurst=3
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|