preupgrade

来自「openfire 服务器源码下载」· 代码 · 共 29 行

TXT
29
字号
#!/bin/shif [ -d /usr/local/openfire ]; then	# stop openfire	/bin/launchctl unload /Library/LaunchDaemons/org.jivesoftware.openfire.plist	# remove existing tmp storage	/bin/rm -rf /tmp/openfireInstallBackup	# create tmp storage location and assorted pieces	/bin/mkdir -p /tmp/openfireInstallBackup	# preserve these files, they should never be upgraded	if [ -f /usr/local/openfire/conf/openfire.xml ]; then		/bin/cp /usr/local/openfire/conf/openfire.xml /tmp/openfireInstallBackup/openfire.xml	fi	if [ -f /usr/local/openfire/resources/security/keystore ]; then		/bin/cp /usr/local/openfire/resources/security/keystore /tmp/openfireInstallBackup/keystore	fi	if [ -f /usr/local/openfire/resources/security/truststore ]; then		/bin/cp /usr/local/openfire/resources/security/truststore /tmp/openfireInstallBackup/truststore	fi	if [ -f /usr/local/openfire/resources/security/client.truststore ]; then		/bin/cp /usr/local/openfire/resources/security/client.truststore /tmp/openfireInstallBackup/client.truststore	fifi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?