Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packaging/systemd/cloudstack-agent.service
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
8 changes: 7 additions & 1 deletion packaging/systemd/cloudstack-management.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 9 additions & 2 deletions packaging/systemd/cloudstack-usage.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down