merge: deploy-time auto hardlink repair
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user