📄 preupgrade
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -