|
@@ -161,6 +161,8 @@ function restore_remote_scuttlebot {
|
161
|
161
|
}
|
162
|
162
|
|
163
|
163
|
function remove_scuttlebot {
|
|
164
|
+ firewall_remove ${SCUTTLEBOT_PORT}
|
|
165
|
+
|
164
|
166
|
systemctl stop scuttlebot
|
165
|
167
|
systemctl disable scuttlebot
|
166
|
168
|
rm /etc/systemd/system/scuttlebot.service
|
|
@@ -247,6 +249,8 @@ function install_scuttlebot {
|
247
|
249
|
chown scuttlebot:scuttlebot /etc/scuttlebot/.ssb/config
|
248
|
250
|
systemctl restart scuttlebot.service
|
249
|
251
|
|
|
252
|
+ firewall_add scuttlebot ${SCUTTLEBOT_PORT}
|
|
253
|
+
|
250
|
254
|
if ! grep -q "scuttlebot version:" ${COMPLETION_FILE}; then
|
251
|
255
|
echo "scuttlebot version:${SCUTTLEBOT_VERSION}" >> ${COMPLETION_FILE}
|
252
|
256
|
else
|