mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
build: post-inst in install step
This commit is contained in:
parent
865ad0836b
commit
d50b16e22b
@ -58,7 +58,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
|
||||
activate_script nc-nextcloud.sh
|
||||
install_script ncp.sh
|
||||
activate_script nc-init.sh
|
||||
activate_script post-inst.sh
|
||||
install_script post-inst.sh
|
||||
|
||||
# harden SSH further for Raspbian
|
||||
sed -i 's|^#PermitRootLogin .*|PermitRootLogin no|' /etc/ssh/sshd_config
|
||||
|
||||
@ -51,7 +51,7 @@ install_script etc/ncp-config.d/nc-nextcloud.sh
|
||||
activate_script etc/ncp-config.d/nc-nextcloud.sh
|
||||
install_script ncp.sh
|
||||
activate_script etc/ncp-config.d/nc-init.sh
|
||||
[[ -f /.ncp-image ]] && activate_script post-inst.sh
|
||||
[[ -f /.ncp-image ]] && install_script post-inst.sh
|
||||
|
||||
popd
|
||||
echo "Done.
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
# More at nextcloudpi.com
|
||||
#
|
||||
|
||||
configure()
|
||||
install()
|
||||
{
|
||||
# stop mysqld and redis
|
||||
mysqladmin -u root shutdown
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user