bip/systemd
Pierre-Louis Bonicoli 722ed9a8da
ENABLED might not be defined: use a default value
For example using ENABLED in /etc/default/bip is DEPRECATED in Debian.

Closes #618.
2021-10-11 18:06:27 +02:00
..
README Add systemd unit files 2018-02-19 19:56:37 +01:00
bip-config.service Add systemd unit files 2018-02-19 19:56:37 +01:00
bip.service ENABLED might not be defined: use a default value 2021-10-11 18:06:27 +02:00
bip_env.sh Add systemd unit files 2018-02-19 19:56:37 +01:00

README

Notes about systemd unit files for bip.

Distro specific commandline configuration is provided by installing a script
named. A default script named bip_env.sh is provided.

This should write /run/sysconfig/bip based on configuration
information such as in /etc/sysconfig/bip or /etc/defaults/bip. It is run once
by bip-config.service.

Distro specific path for bip_env.sh script must be set using a
bip-config.service.d/distrib.conf unit file drop-in:
[Service]
ExecStart=/path/to/bip_env.sh

bip_env.sh try some default paths for the default configuration file: either
/etc/default/bip or /etc/sysconfig/bip.
Optionaly, the default configuration file path can be set too:
[Service]
ExecStart=/path/to/bip_env.sh
Environment=BIP_DEFAULT_CONFIG='/path/to/default/bip'