mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
98a805ed4e
Shebang probably better off as /bin/sh. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
12 lines
310 B
Bash
12 lines
310 B
Bash
#!/bin/bash
|
|
|
|
# Setting up permissions for elects's data directories.
|
|
|
|
PRGNAM=electrs
|
|
ELECTRS_UID=386
|
|
ELECTRS_GID=386
|
|
|
|
setfacl -R -m u:$ELECTRS_UID:rwx etc/$PRGNAM
|
|
setfacl -R -m u:$ELECTRS_UID:rwx var/lib/$PRGNAM
|
|
setfacl -R -m u:$ELECTRS_UID:rwx var/log/$PRGNAM
|
|
setfacl -R -m u:$ELECTRS_UID:rwx var/run/$PRGNAM
|