Changes
Jump to navigation
Jump to search
65 bytes added
, 07:27, 11 August 2023
Line 113: |
Line 113: |
| ==How to install Air Raid alarm on old server== | | ==How to install Air Raid alarm on old server== |
| 1. Add info about plugin to /home/sh2/plugins/list.json | | 1. Add info about plugin to /home/sh2/plugins/list.json |
| + | <code> |
| { | | { |
| "id": "air_alarm", | | "id": "air_alarm", |
Line 120: |
Line 121: |
| "description": "TXT_PLUGIN_AIR_ALARM_DESCRIPTION" | | "description": "TXT_PLUGIN_AIR_ALARM_DESCRIPTION" |
| } | | } |
| + | </code> |
| | | |
| 2. Run next commands via SSH | | 2. Run next commands via SSH |
| + | <syntaxhighlight lang="bash"> |
| + | |
| chmod 666 /home/plugins/air_alarm/shsp-airalarm-args.json | | chmod 666 /home/plugins/air_alarm/shsp-airalarm-args.json |
| chmod 755 /home/plugins/air_alarm/air_alarm.py | | chmod 755 /home/plugins/air_alarm/air_alarm.py |
Line 129: |
Line 133: |
| systemctl stop ltplugin-airalarm | | systemctl stop ltplugin-airalarm |
| systemctl start ltplugin-airalarm | | systemctl start ltplugin-airalarm |
| + | </syntaxhighlight> |