ubborg-sysd-murmurd-pmb
v0.1.4
Published
Ubborg config generator for murmurd (mumble-server VoIP) with better systemd startup.
Downloads
9
Readme
ubborg-sysd-murmurd-pmb
Ubborg config generator for murmurd (mumble-server VoIP) with better systemd startup.
API
This module exports one function:
setupMurmurd(bun, opt)
bun
is the ubborg bundle on whose behalf all requests shall be issued.
opt
is an optional options object that supports these optional keys:
debPkg
: Whether and which apt package to install as the server.true
(default): Install the default package.false
: Don't install, just prepare for installing it.- any string or array: Use these package names.
userIdNum
: UID to use for the murmur user account.0
(default) = Don't create the account.groupIdNum
: GID to use for the murmur user group. Ignored unlessuid
is set, too.0
(defalt) = same as UID.putIni
: (See chapter "Configuration" below.) An array of config lines (i.e., strings) to put in/var/lib/mumble-server/${svcName}/cfg/local.ini
. A charset header line might be written in front of your config lines. May also be a dictionary object that maps basenames to such arrays, in which case separate ini files${basename}.ini
will be created with the lines from the array.
Configuration
see docs/sysdwrap.md
Known issues
- Needs more/better tests and docs.
License
ISC