vlmcsd: dynamic user

This commit is contained in:
nyyu 2021-02-07 22:42:43 +01:00
parent 6c68ae2632
commit afb77a647e
3 changed files with 19 additions and 4 deletions

16
vlmcsd/.gitignore vendored Normal file
View File

@ -0,0 +1,16 @@
*
!buildroot-configs
!bin
!build
!etc
!floppy
!GNUmakefile
!hotbird64-mass-build
!lib
!Makefile
!man
!README
!README.compile-and-pre-built-binaries
!src
!VisualStudio
!.gitignore

View File

@ -8,7 +8,7 @@ license=('custom')
source=("https://github.com/Wind4/vlmcsd/archive/${pkgver}.tar.gz"
"${pkgname}.service")
sha256sums=('62f55c48f5de1249c2348ab6b96dabbe7e38899230954b0c8774efb01d9c42cc'
'f0a462cc15f1d9afa18a92a6434d0b0ed68349ba69f878d0a8c84840b5fd4f7f')
'e13a82e4521756f3fd5238422db9dae0cb326e4099d890fe74d1b9b876145497')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"

View File

@ -3,9 +3,8 @@ Description=KMS Server Emulator
After=network.target
[Service]
ExecStart=/usr/bin/vlmcsd -D -C 1033 -P 3128 -l syslog -v
User=nobody
Group=nobody
ExecStart=/usr/bin/vlmcsd -D -C 1033 -P 3128 -l syslog -j /etc/vlmcsd.kmd -v
DynamicUser=yes
[Install]
WantedBy=multi-user.target