diff options
author | Christian Breunig <christian@breunig.cc> | 2025-02-02 21:40:46 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-02-04 18:09:39 +0100 |
commit | cf7721f7d5345e484e0c57b643913d2353dca6f5 (patch) | |
tree | 48ba9586c45090d20a15f027840d41a6ecc70807 /python | |
parent | 29a7edaf871cbf77092308eab05cb750a9e74308 (diff) | |
download | vyos-1x-cf7721f7d5345e484e0c57b643913d2353dca6f5.tar.gz vyos-1x-cf7721f7d5345e484e0c57b643913d2353dca6f5.zip |
defaults: T6989: provide single source of systemd services
Some systemd services are re-used over multiple configuration files. Keep a
single source of the real systemd names and only reference them by dictionary
keys.
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/defaults.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py index 9757a34df..89e51707b 100644 --- a/python/vyos/defaults.py +++ b/python/vyos/defaults.py @@ -1,4 +1,4 @@ -# Copyright 2018-2024 VyOS maintainers and contributors <maintainers@vyos.io> +# Copyright 2018-2025 VyOS maintainers and contributors <maintainers@vyos.io> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -40,6 +40,11 @@ directories = { 'ca_certificates' : '/usr/local/share/ca-certificates/vyos' } +systemd_services = { + 'rsyslog' : 'rsyslog.service', + 'snmpd' : 'snmpd.service', +} + config_status = '/tmp/vyos-config-status' api_config_state = '/run/http-api-state' frr_debug_enable = '/tmp/vyos.frr.debug' |