Skip to content

Commit

Permalink
use flock to prevent accidential concurrent/parallel execution
Browse files Browse the repository at this point in the history
  • Loading branch information
edeso committed Apr 5, 2023
1 parent b5a8c93 commit 1d1ab4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* * * * * /lib/gluon/gluon-mesh-wireguard/checkuplink
* * * * * /usr/bin/flock -n /var/lock/checkuplink.lock /lib/gluon/gluon-mesh-wireguard/checkuplink

0 comments on commit 1d1ab4a

Please sign in to comment.