summaryrefslogtreecommitdiffstats
path: root/tools/frr.service.in
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-01-25 20:29:14 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2024-01-27 19:02:52 +0100
commitbbd858935fad9a469b5b339948e1215b347b05c0 (patch)
tree3d6cff23ed9c13ea15f6fd37775dd3e9c8f8477a /tools/frr.service.in
parentbabeld: remove bogus config path print (diff)
downloadfrr-bbd858935fad9a469b5b339948e1215b347b05c0.tar.xz
frr-bbd858935fad9a469b5b339948e1215b347b05c0.zip
build: homologize path handling
Use consistent `e_somepath` names for expanded versions of `somepath`. Also remove all paths from `config.h` and put them into `lib/config_paths.h` - this is to make more obvious when someone is doing something probably not quite properly structured. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tools/frr.service.in')
-rw-r--r--tools/frr.service.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/frr.service.in b/tools/frr.service.in
index 1e958dd93..b52ee3f42 100644
--- a/tools/frr.service.in
+++ b/tools/frr.service.in
@@ -17,10 +17,10 @@ WatchdogSec=60s
RestartSec=5
Restart=always
LimitNOFILE=1024
-PIDFile=@CFG_STATE@/watchfrr.pid
-ExecStart=@CFG_SBIN@/frrinit.sh start
-ExecStop=@CFG_SBIN@/frrinit.sh stop
-ExecReload=@CFG_SBIN@/frrinit.sh reload
+PIDFile=@e_frr_runstatedir@/watchfrr.pid
+ExecStart=@e_sbindir@/frrinit.sh start
+ExecStop=@e_sbindir@/frrinit.sh stop
+ExecReload=@e_sbindir@/frrinit.sh reload
[Install]
WantedBy=multi-user.target