synology:pihole_synology
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| synology:pihole_synology [2019/06/03 10:41] – [Update Pi-hole] Wuff | synology:pihole_synology [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 95: | Line 95: | ||
| vi / | vi / | ||
| </ | </ | ||
| - | < | + | < |
| #!/bin/sh | #!/bin/sh | ||
| Line 101: | Line 101: | ||
| case $1 in | case $1 in | ||
| - | | + | |
| - | / | + | / |
| - | chroot / | + | chroot / |
| - | chroot / | + | chroot / |
| - | chroot / | + | chroot / |
| - | ;; | + | ;; |
| - | stop) | + | stop) |
| - | chroot / | + | chroot / |
| - | chroot / | + | chroot / |
| - | chroot / | + | chroot / |
| - | / | + | / |
| - | ;; | + | ;; |
| - | restart) | + | restart) |
| - | $0 stop | + | $0 stop |
| - | sleep 1 | + | sleep 1 |
| - | $0 start | + | $0 start |
| - | ;; | + | ;; |
| - | *) | + | *) |
| - | echo " | + | echo " |
| - | ;; | + | ;; |
| esac | esac | ||
| </ | </ | ||
| Line 147: | Line 147: | ||
| sudo / | sudo / | ||
| - | pihole -up | + | #Regular update fails on synology due to not being able to check disk space, use override option 'do not follow recommendations' |
| + | #pihole -up | ||
| + | curl -L https:// | ||
| #change the webserver port again: | #change the webserver port again: | ||
| - | vi / | + | #vi / |
| sed -i ' | sed -i ' | ||
| Line 162: | Line 164: | ||
| cd / | cd / | ||
| git pull | git pull | ||
| - | |||
| - | #or | ||
| - | curl -L https:// | ||
| - | |||
| </ | </ | ||
synology/pihole_synology.1559554879.txt.gz · Last modified: (external edit)