Skip to content

Commit

Permalink
init-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhotio committed Aug 27, 2023
1 parent 7a6f4de commit 4ca9328
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions root/init-hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/command/with-contenv bash
# shellcheck shell=bash

if [[ "${PRIVOXY_ENABLED}" != true ]]; then
rm -rf /etc/s6-overlay/s6-rc.d/user/contents.d/service-privoxy
fi

0 comments on commit 4ca9328

Please sign in to comment.