/lib/systemd/system/opennebula-sunstone.service is in opennebula-sunstone 4.12.3+dfsg-3.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | [Unit]
Description=OpenNebula Web UI Server
After=network.target
After=opennebula.service
After=opennebula-novnc.service
BindTo=opennebula-novnc.service
RequiresMountsFor=/var/lib/one/.one/sunstone_auth
[Service]
Type=simple
Group=oneadmin
User=oneadmin
ExecStartPre=-/bin/sh -c '[ -s "/var/lib/one/.one/sunstone_auth" ] || /bin/sleep 2s'
ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb
[Install]
WantedBy=multi-user.target
|