feat: backup archive file

This commit is contained in:
zhangsz committed 2025-03-06 20:21:51 +08:00
1 parent e9c7f4fa2c
commit bf65bd4fc5
10 files changed
+135

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
test ! -f /usr/local/etc/canal/config.json && cp -rf /usr/local/etc/canal/default/* /usr/local/etc/canal
systemctl enable canal
exit 0