2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-15 06:12:52 +00:00

Add systemd user creation

This commit is contained in:
nxshock 2021-04-03 21:15:34 +05:00 committed by GitHub
parent d2e43d9288
commit d60c6835dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,11 @@ mkdir -p /tmp/$PKGNAME/
mkdir -p /tmp/$PKGNAME/debian/ mkdir -p /tmp/$PKGNAME/debian/
mkdir -p /tmp/$PKGNAME/usr/bin/ mkdir -p /tmp/$PKGNAME/usr/bin/
mkdir -p /tmp/$PKGNAME/etc/systemd/system/ mkdir -p /tmp/$PKGNAME/etc/systemd/system/
mkdir -p /tmp/$PKGNAME/usr/lib/sysusers.d/
cat > /tmp/$PKGNAME/usr/lib/sysusers.d/alfis.tmpfiles << EOF
u alfis - "alfis user"
EOF
cat > /tmp/$PKGNAME/debian/changelog << EOF cat > /tmp/$PKGNAME/debian/changelog << EOF
Please see https://github.com/Revertron/Alfis/ Please see https://github.com/Revertron/Alfis/
@ -125,4 +130,4 @@ ar -r $PKGFILE \
/tmp/$PKGNAME/control.tar.gz \ /tmp/$PKGNAME/control.tar.gz \
/tmp/$PKGNAME/data.tar.gz /tmp/$PKGNAME/data.tar.gz
rm -rf /tmp/$PKGNAME rm -rf /tmp/$PKGNAME