mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
no-dereference
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
08faf21b2e
commit
ce8731b746
@ -87,14 +87,12 @@ start() {
|
|||||||
# Should be removed with Pi-hole v6.0
|
# Should be removed with Pi-hole v6.0
|
||||||
if [ ! -f /var/log/pihole.log ]; then
|
if [ ! -f /var/log/pihole.log ]; then
|
||||||
ln -s /var/log/pihole/pihole.log /var/log/pihole.log
|
ln -s /var/log/pihole/pihole.log /var/log/pihole.log
|
||||||
chown pihole:pihole /var/log/pihole.log
|
chown -h pihole:pihole /var/log/pihole.log
|
||||||
chmod -f 0644 /var/log/pihole.log
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
if [ ! -f /var/log/pihole-FTL.log ]; then
|
if [ ! -f /var/log/pihole-FTL.log ]; then
|
||||||
ln -s /var/log/pihole/pihole-FTL.log /var/log/pihole-FTL.log
|
ln -s /var/log/pihole/pihole-FTL.log /var/log/pihole-FTL.log
|
||||||
chown pihole:pihole /var/log/pihole-FTL.log
|
chown -h pihole:pihole /var/log/pihole-FTL.log
|
||||||
chmod -f 0644 /var/log/pihole-FTL.log
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if setcap CAP_NET_BIND_SERVICE,CAP_NET_RAW,CAP_NET_ADMIN,CAP_SYS_NICE,CAP_IPC_LOCK,CAP_CHOWN+eip "/usr/bin/pihole-FTL"; then
|
if setcap CAP_NET_BIND_SERVICE,CAP_NET_RAW,CAP_NET_ADMIN,CAP_SYS_NICE,CAP_IPC_LOCK,CAP_CHOWN+eip "/usr/bin/pihole-FTL"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user