|
@@ -170,6 +170,10 @@ function reconfigure_tahoelafs {
|
170
|
170
|
}
|
171
|
171
|
|
172
|
172
|
function remove_tahoelafs {
|
|
173
|
+ systemctl stop tahoelafs
|
|
174
|
+ systemctl disable tahoelafs
|
|
175
|
+ rm /etc/systemd/system/tahoelafs.service
|
|
176
|
+
|
173
|
177
|
firewall_remove ${TAHOELAFS_PORT}
|
174
|
178
|
rm -rf /var/lib/tahoelafs
|
175
|
179
|
remove_completion_param install_tahoelafs
|
|
@@ -177,6 +181,9 @@ function remove_tahoelafs {
|
177
|
181
|
function_check remove_onion_service
|
178
|
182
|
remove_onion_service tahoelafs ${TAHOELAFS_ONION_PORT}
|
179
|
183
|
deluser tahoelafs
|
|
184
|
+ if [ -d /home/tahoelafs ]; then
|
|
185
|
+ rm -rf /home/tahoelafs
|
|
186
|
+ fi
|
180
|
187
|
remove_app tahoelafs
|
181
|
188
|
}
|
182
|
189
|
|