summaryrefslogtreecommitdiff
path: root/mail/dspam
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-05-23 18:44:52 +0000
committerleot <leot@pkgsrc.org>2018-05-23 18:44:52 +0000
commita53f9d053ac2c12ca501f66e2a41d4c250bc3eda (patch)
treecec911f5b812e2b93a9038501876be84ec8d348c /mail/dspam
parentb928c00577924fc5cec5516a188a1c3ee54be4bf (diff)
downloadpkgsrc-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 'mail/dspam')
0 files changed, 0 insertions, 0 deletions