1
0
forked from bip/bip
bip/systemd/bip-config.service
Pierre-Louis Bonicoli 3f4a260a54
Add systemd unit files
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
2018-02-19 19:56:37 +01:00

13 lines
317 B
Desktop File

[Unit]
Description=Preprocess Bip configuration
After=local-fs.target
DefaultDependencies=no
[Service]
Type=oneshot
RemainAfterExit=no
# 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