1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-21 18:03:38 +03:00
one/share/pkgs/CentOS7/opennebula-sunstone.service

17 lines
449 B
SYSTEMD
Raw Normal View History

[Unit]
Description=OpenNebula Web UI Server
After=syslog.target network.target
After=opennebula.service
Wants=opennebula-novnc.service
AssertFileNotEmpty=/var/lib/one/.one/sunstone_auth
[Service]
Type=simple
Group=oneadmin
User=oneadmin
ExecStartPre=-/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-sunstone -s /var/lib/one/.logrotate.status
ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb
[Install]
WantedBy=multi-user.target