mirror of https://github.com/apache/cloudstack.git
Merge release branch 4.13 to master
* 4.13: systemd dependency on db (#3973)
This commit is contained in:
commit
da865f08d3
|
|
@ -15,6 +15,10 @@
|
|||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
# Do not modify this file as your changes will be lost in the next CSM update.
|
||||
# If you need to add specific dependencies to this service unit do it in the
|
||||
# /etc/systemd/system/cloudstack-management.service.d/ directory
|
||||
|
||||
[Unit]
|
||||
Description=CloudStack Agent
|
||||
Documentation=http://www.cloudstack.org/
|
||||
|
|
|
|||
|
|
@ -16,10 +16,16 @@
|
|||
# under the License.
|
||||
|
||||
# Systemd unit file for CloudStack Management server
|
||||
# Do not modify this file as your changes will be lost in the next CSM update.
|
||||
# If you need to add specific dependencies to this service unit do it in the
|
||||
# /etc/systemd/system/cloudstack-management.service.d/ directory
|
||||
# If you know that either mysql or mariadb is running on this system is a good idea to
|
||||
# add a Requires dependency there. Check systemd documentation for details
|
||||
|
||||
[Unit]
|
||||
Description=CloudStack Management Server
|
||||
After=syslog.target network.target
|
||||
After=syslog.target network.target mariadb.service mysqld.service mysql.service
|
||||
Wants=mariadb.service mysqld.service mysql.service
|
||||
|
||||
[Service]
|
||||
UMask=0022
|
||||
|
|
|
|||
|
|
@ -15,11 +15,18 @@
|
|||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
# Systemd unit file for CloudStack Management server
|
||||
# Do not modify this file as your changes will be lost in the next CSM update.
|
||||
# If you need to add specific dependencies to this service unit do it in the
|
||||
# /etc/systemd/system/cloudstack-management.service.d/ directory
|
||||
# If you know that either mysql or mariadb is running on this system is a good idea to
|
||||
# add a Requires dependency there. Check systemd documentation for details
|
||||
|
||||
[Unit]
|
||||
Description=CloudStack Usage Server
|
||||
Documentation=http://www.cloudstack.org/
|
||||
Wants=network.target network-online.target
|
||||
After=network.target network-online.target
|
||||
Wants=network.target network-online.target mariadb.service mysqld.service mysql.service
|
||||
After=network.target network-online.target mariadb.service mysqld.service mysql.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
|
|
|||
Loading…
Reference in New Issue