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:
parent
d2e43d9288
commit
d60c6835dd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user