2022-04-06 16:05:20 +00:00
committed by Git OBS Bridge
parent 687beea213
commit eed04e3041
11 changed files with 140 additions and 29 deletions

View File

@@ -1,7 +1,21 @@
#!/bin/sh
# %files
chown gromox:gromox /var/lib/gromox /var/log/gromox || :
chown root:gromox /etc/gromox || :
chmod 0770 /etc/gromox || :
vd="/var/lib/gromox \
/var/lib/gromox/domain \
/var/lib/gromox/queue \
/var/lib/gromox/queue/cache \
/var/lib/gromox/queue/clone \
/var/lib/gromox/queue/insulation \
/var/lib/gromox/queue/mess \
/var/lib/gromox/queue/save \
/var/lib/gromox/queue/timer \
/var/lib/gromox/user \
/var/log/gromox"
chown gromox:gromox $vd || :
chmod 0770 $vd || :
chmod 0770 /var/lib/gromox /var/log/gromox || :
# %post