Skip to content

Commit

Permalink
feat(migration): remove list-modules.json file during ns8-leave cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Dec 17, 2024
1 parent e942fb9 commit be84c20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions root/usr/sbin/ns8-leave
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ fi
# clean up agent state directory
find /var/lib/nethserver/nethserver-ns8-migration -type f -not -name index.html | xargs -- rm -vf

# remove the list-modules.json file
rm -f /var/lib/nethserver/nethserver-ns8-migration/list-modules.json

# signal event
/sbin/e-smith/signal-event nethserver-ns8-migration-save
# write log
Expand Down

0 comments on commit be84c20

Please sign in to comment.