diff options
author | leot <leot@pkgsrc.org> | 2018-05-23 18:44:52 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2018-05-23 18:44:52 +0000 |
commit | a53f9d053ac2c12ca501f66e2a41d4c250bc3eda (patch) | |
tree | cec911f5b812e2b93a9038501876be84ec8d348c /converters | |
parent | b928c00577924fc5cec5516a188a1c3ee54be4bf (diff) | |
download | pkgsrc-a53f9d053ac2c12ca501f66e2a41d4c250bc3eda.tar.gz |
bitlbee: Always create the ${pidfile} directory and improve rc.d script
- At least on NetBSD every files on /var/run are removed at every
boot by mountcritlocal rc.d script. Add a bitlbee_precmd() function
to always check that a directory for the ${pidfile} exists and
create it if needed.
- Check if /etc/rc.subr exists before source-ing it.
- Introduce BITLBEE_USER and BITLBEE_GROUP variables and reuse them to avoid
hardcoding `bitlbee' and `nobody' (NFCI)
Discussed with and suggestions from <tonio>, thanks!
Diffstat (limited to 'converters')
0 files changed, 0 insertions, 0 deletions