mirror of https://github.com/apache/cloudstack.git
move services to systemd dir
This commit is contained in:
parent
9b22947f8c
commit
d414b51130
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=CloudStack Agent service
|
||||
After=cloud-early-config.service network.target cloud-postinit.service local-fs.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/usr/local/cloud/systemvm
|
||||
ExecStart=/usr/local/cloud/systemvm/_run.sh
|
||||
Restart=on-failure
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=CloudStack Baremetal VR service
|
||||
After=network.target local-fs.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/cloud/bin
|
||||
ExecStart=/usr/bin/python /opt/cloud/bin/baremetal-vr.py
|
||||
Restart=on-failure
|
||||
Loading…
Reference in New Issue