3f4a260a54
Largely inspired by https://lwn.net/Articles/584175/ "They must be suitable for every distribution to use." Packagers must define: - ExecStart=/path/to/bip_env.sh - Environment=BIP_DEFAULT_CONFIG='/path/to/default/bip' using a unit file drop-in bip-config.service.d/<distrib>.conf
21 lines
767 B
Plaintext
21 lines
767 B
Plaintext
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'
|