From ef48b2482f3e516c830c04589193377ee8b45a5e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 21 Jul 2022 20:35:19 +0200 Subject: fastnetmon: T2659: move configuration files to /run --- src/etc/systemd/system/fastnetmon.service.d/override.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/etc/systemd/system/fastnetmon.service.d/override.conf (limited to 'src/etc') diff --git a/src/etc/systemd/system/fastnetmon.service.d/override.conf b/src/etc/systemd/system/fastnetmon.service.d/override.conf new file mode 100644 index 000000000..8f7f3774f --- /dev/null +++ b/src/etc/systemd/system/fastnetmon.service.d/override.conf @@ -0,0 +1,12 @@ +[Unit] +RequiresMountsFor=/run +ConditionPathExists=/run/fastnetmon/fastnetmon.conf +After= +After=vyos-router.service + +[Service] +Type=simple +WorkingDirectory=/run/fastnetmon +PIDFile=/run/fastnetmon/fastnetmon.pid +ExecStart= +ExecStart=/usr/sbin/fastnetmon --configuration_file /run/fastnetmon/fastnetmon.conf -- cgit v1.2.3