merge: deploy-time auto hardlink repair

This commit is contained in:
知微
2026-07-20 20:27:17 +08:00
6 changed files with 217 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Watch deploy/profile-scripts for changes and re-sync hardlinks
[Path]
PathChanged=/home/hmo/MoFin/deploy/profile-scripts
Unit=profile-scripts-sync.service
[Install]
WantedBy=multi-user.target
+7
View File
@@ -0,0 +1,7 @@
[Unit]
Description=Re-sync profile scripts hardlinks after deploy dir changes
[Service]
Type=oneshot
User=hmo
ExecStart=/bin/bash /home/hmo/MoFin/deploy/profile-scripts/sync_profile_scripts.sh