| Server IP : 193.86.120.172 / Your IP : 216.73.216.67 Web Server : Apache/2.4.63 (Unix) System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64 User : kubec ( 1026) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/packages/WebStation/scripts/ |
Upload File : |
#!/bin/bash
case "$1" in
start)
if [ ! -L /usr/syno/etc/www/WebStation.json ]; then
/usr/bin/rm -f /usr/syno/etc/www/WebStation.json
/usr/bin/ln -sf /usr/syno/etc/packages/WebStation/WebStation.json /usr/syno/etc/www/WebStation.json
fi
/var/packages/WebStation/target/tools/synowebservice plugin-pkg sync-all
"${SYNOPKG_PKGDEST}/tools/webstation_update_php_timezone.sh"
/var/packages/WebStation/target/tools/synowebservice service sync
/var/packages/WebStation/target/tools/synowebservice portal force-sync
;;
stop)
/usr/syno/bin/synow3tool --disable-nginx-sites=server.webstation.conf,server.webstation-vhost.conf
/usr/syno/bin/synow3tool --disable-nginx-confd=.location.webstation.conf
/usr/bin/rm -f /usr/syno/etc/www/WebStation.json
/var/packages/WebStation/target/tools/synowebservice portal sync
;;
status)
exit 0
esac