Last active
May 12, 2020 18:12
-
-
Save unixfox/d2042803d8041f531e3d8a74a63b70ca to your computer and use it in GitHub Desktop.
alpine config files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration for apk-autoupdate. | |
# List of packages that should not be automatically upgraded. | |
# Note: Case patterns (shell "case") may be used. | |
#packages_blacklist="linux-*" | |
# List of services that may be automatically restarted. | |
# Note: Case patterns (shell "case") may be used. | |
#services_whitelist="" | |
# List of services that should not be automatically restarted. | |
# Note: Case patterns (shell "case") may be used. | |
#services_blacklist="*" | |
# List of colon separated mappings between program path, the corresponding | |
# service and optionally action (e.g. restart, reload) to be performed. | |
# Example: /usr/sbin/nginx:nginx:reload. | |
# Note: Case patterns (shell "case") may be used in program path. | |
#programs_services="" | |
# List of fnmatch patterns specifying files to include/exclude from checking | |
# when scanning processes that use some files that have been upgraded. | |
#check_mapped_files_filter="!/dev/* !/home/* !/run/* !/tmp/* !/var/* *" | |
# Options to pass into OpenRC runscripts when restarting service. | |
#rc_service_opts='--ifstarted --quiet --nocolor --nodeps' | |
can_restart_service() { | |
case "$1" in | |
# Restart rsyncd only when there are no active connections. | |
docker) /sbin/reboot;; | |
linux-virt) /sbin/reboot;; | |
# Use default handling for other services. | |
*) default_can_restart_service "$@";; | |
esac | |
} | |
finalize() { | |
/usr/bin/curl https://hc-ping.com | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://dl-cdn.alpinelinux.org/alpine/latest-stable/main | |
http://dl-cdn.alpinelinux.org/alpine/latest-stable/community | |
@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing | |
@testing-community http://dl-cdn.alpinelinux.org/alpine/edge/community |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment