add tmpfiles conf

This commit is contained in:
xenia 2021-01-10 05:13:05 -05:00
parent 2c2287f9ee
commit 985ad1cc97
2 changed files with 2 additions and 0 deletions

1
dist/PKGBUILD vendored
View File

@ -67,5 +67,6 @@ package() {
# install tmpfiles and sysusers for systemd
# install server systemd service
install -Dm644 "$srcdir/crossfire/dist/sysusers.conf" "$pkgdir/usr/lib/sysusers.d/crossfire.conf"
install -Dm644 "$srcdir/crossfire/dist/tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/crossfire.conf"
install -Dm644 "$srcdir/crossfire/dist/crossfire.service" "$pkgdir/usr/lib/systemd/system/crossfire.service"
}

1
dist/tmpfiles.conf vendored Normal file
View File

@ -0,0 +1 @@
d /var/lib/crossfire 0750 crossfire crossfire