mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-06 18:21:46 -07:00
Add some todos
This commit is contained in:
14
install/production-filesystem/services/check-permissions.sh
Normal file
14
install/production-filesystem/services/check-permissions.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
# TODO Add sanity checks here to ensure we can read from
|
||||
# ${NETALERTX_APP}
|
||||
# ${NETALERTX_SERVER}
|
||||
# ${NETALERTX_FRONT}
|
||||
# ${SYSTEM_SERVICES_CONFIG}
|
||||
# ${VIRTUAL_ENV}
|
||||
|
||||
# And read/write tempdirs
|
||||
# ${NETALERTX_API}
|
||||
# ${NETALERTX_LOGS}
|
||||
# ${SYSTEM_SERVICES_RUN}
|
||||
|
||||
7
install/production-filesystem/services/check-storage.sh
Normal file
7
install/production-filesystem/services/check-storage.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# TODO Sanity checks for storage paths
|
||||
|
||||
# Ensure we can read/write to
|
||||
# ${NETALERTX_CONFIG}
|
||||
# ${NETALERTX_DB}
|
||||
@@ -464,10 +464,10 @@ pm.max_spare_servers = 3
|
||||
; the current environment.
|
||||
; Default Value: clean env
|
||||
;env[HOSTNAME] = $HOSTNAME
|
||||
;env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||
;env[TMP] = /tmp
|
||||
;env[TMPDIR] = /tmp
|
||||
;env[TEMP] = /tmp
|
||||
env[PATH] = /opt/venv:/usr/local/bin:/usr/bin:/bin
|
||||
env[TMP] = /services/run/tmp
|
||||
env[TMPDIR] = /services/run/tmp
|
||||
env[TEMP] = /services/run/tmp
|
||||
|
||||
; Additional php.ini defines, specific to this pool of workers. These settings
|
||||
; overwrite the values previously defined in the php.ini. The directives are the
|
||||
@@ -489,7 +489,11 @@ pm.max_spare_servers = 3
|
||||
; Default Value: nothing is defined by default except the values in php.ini and
|
||||
; specified at startup with the -d argument
|
||||
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
|
||||
;php_flag[display_errors] = off
|
||||
;php_admin_value[error_log] = /var/log/php83/$pool.error.log
|
||||
;php_admin_flag[log_errors] = on
|
||||
;php_admin_value[memory_limit] = 32M
|
||||
php_admin_value[sys_temp_dir] = /services/run/tmp
|
||||
php_admin_value[upload_tmp_dir] = /services/run/tmp
|
||||
php_admin_value[session.save_path] = /services/run/tmp
|
||||
php_admin_value[output_buffering] = 262144
|
||||
php_admin_flag[implicit_flush] = off
|
||||
php_admin_value[realpath_cache_size] = 4096K
|
||||
php_admin_value[realpath_cache_ttl] = 600
|
||||
php_admin_value[memory_limit] = 256M
|
||||
|
||||
Reference in New Issue
Block a user