summarylogtreecommitdiffstats
path: root/opennebula-sunstone.service
blob: 2866174c52dbe156bd19b73e2f1d3de668ce5120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=OpenNebula Web UI Server
After=syslog.target network.target remote-fs.target opennebula.service opennebula-novnc.service
BindsTo=opennebula.service
Wants=opennebula-novnc.service
AssertFileNotEmpty=/var/lib/one/.one/sunstone_auth

[Service]
User=oneadmin
Group=cloud
Type=simple
PermissionsStartOnly=true

ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb
PIDFile=/run/one/sunstone.pid
Restart=always

[Install]
WantedBy=multi-user.target