.deb/.rpm: add osmocom user during package install

Created osmocom user & group during package installation.
Fix the configuration dir/files permission to match.

Related: OS#4107
Tweaked-By: Oliver Smith <osmith@sysmocom.de>
Change-Id: I625c993ab03dfe32976c651acca9c35c33a768e7
This commit is contained in:
Max
2022-09-09 22:23:58 +07:00
committed by Oliver Smith
parent da4fc0eab9
commit a26abc6aa8
4 changed files with 55 additions and 2 deletions

2
debian/control vendored
View File

@@ -20,7 +20,7 @@ Homepage: https://projects.osmocom.org/projects/osmo-hlr
Package: osmo-hlr
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser
Description: Osmocom Home Location Register
OsmoHLR is a Osmocom implementation of HLR (Home Location Registrar) which
works over GSUP protocol. The subscribers are store in sqlite DB.