move services to systemd dir

This commit is contained in:
Paul Angus 2018-12-23 07:29:09 +00:00
parent 9b22947f8c
commit d414b51130
2 changed files with 24 additions and 0 deletions

View File

@ -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

View File

@ -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