Ignore:
Timestamp:
Nov 27, 2018, 2:23:40 PM (6 years ago)
Author:
rick
Message:

Fix monit not starting at boot

Reported-By: huub@

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/cfg/nanobsd.wleiden

    r14210 r14243  
    235235
    236236
     237# Monit permissions needs to be more restrictive which cannot be set by
     238# repository tooling
     239cust_monitrc_permissions () (
     240        if [ -r ${NANO_WORLDDIR}/usr/local/etc/monitrc ]; then
     241                chroot ${NANO_WORLDDIR} sh -c "chmod 0600 /usr/local/etc/monitrc"
     242        fi
     243)
     244
     245
    237246# Assuming we are running a safe envirionment where snooping could occur during or after the build
    238247cust_set_root_password() (
     
    445454customize_cmd cust_unbound_rights
    446455customize_cmd cust_update_databases
     456customize_cmd cust_monitrc_permissions
    447457#customize_cmd cust_apply_nanobsd_patches
    448458late_customize_cmd late_cust_unset_common_var_and_tmp
Note: See TracChangeset for help on using the changeset viewer.