blob: 02fe71a9cb3f2f2cf7ef1d94a4707c2ceebc8ec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=OpenNebula Web Interface
After=network.target local-fs.target remote-fs.target opennebula.service
Requires=opennebula.service
[Service]
User=oneadmin
Group=cloud
Type=forking
PermissionsStartOnly=true
ExecStartPre=/usr/bin/mkdir -p /var/run/one
ExecStartPre=/usr/bin/mkdir -p /var/lock/one
ExecStartPre=/usr/bin/chown -R oneadmin:cloud /var/run/one
ExecStartPre=/usr/bin/chown -R oneadmin:cloud /var/lock/one
ExecStart=/usr/bin/sunstone-server start
ExecStop=/usr/bin/sunstone-server stop
[Install]
WantedBy=multi-user.target
|