mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 06:32:00 -03:30
13 lines
473 B
Bash
13 lines
473 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
source /usr/local/etc/library.sh
|
|
|
|
install_template apache2/ncp.conf.sh /etc/apache2/sites-available/ncp.conf --defaults
|
|
a2dissite nextcloud
|
|
mv /etc/apache2/sites-available/nextcloud.conf /etc/apache2/sites-available/001-nextcloud.conf
|
|
a2ensite 001-nextcloud
|
|
install_template systemd/notify_push.service.sh /etc/systemd/system/notify_push.service
|
|
systemctl daemon-reload
|
|
systemctl restart notify_push
|
|
bash -c "sleep 2 && systemctl reload apache2" |