summaryrefslogtreecommitdiff
path: root/tools/systemd
diff options
context:
space:
mode:
authorLu Qiuwen <[email protected]>2021-07-19 14:58:00 +0800
committerLu Qiuwen <[email protected]>2021-07-19 14:58:00 +0800
commitfd23b90b4142c49411dc9485db910a262542bd04 (patch)
treee0fe06092a1fe5406b4e3044939297fa1dbe0304 /tools/systemd
parentcea4bb9d1fb42dada398d51949e4913284ae75e3 (diff)
调整MRAPM的服务依赖配置。
Diffstat (limited to 'tools/systemd')
-rw-r--r--tools/systemd/mrapm_device.service.in1
-rw-r--r--tools/systemd/mrapm_stream.service.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/systemd/mrapm_device.service.in b/tools/systemd/mrapm_device.service.in
index ff23de8..e3e3a96 100644
--- a/tools/systemd/mrapm_device.service.in
+++ b/tools/systemd/mrapm_device.service.in
@@ -1,6 +1,7 @@
[Unit]
Description=Marsio APM logwritter(monit_device)
After=mrzcpd.service
+Requires=mrzcpd.service
[Service]
Type=simple
diff --git a/tools/systemd/mrapm_stream.service.in b/tools/systemd/mrapm_stream.service.in
index 24ccd2f..806ff9d 100644
--- a/tools/systemd/mrapm_stream.service.in
+++ b/tools/systemd/mrapm_stream.service.in
@@ -1,6 +1,7 @@
[Unit]
Description=Marsio APM logwritter(monit_stream)
After=mrzcpd.service
+Requires=mrzcpd.service
[Service]
Type=simple