diff options
author | tv <tv@also> | 2011-11-10 01:19:04 +0100 |
---|---|---|
committer | tv <tv@also> | 2011-11-10 01:19:04 +0100 |
commit | 8ddd371557d626f6586282c3345e3a2a8f7ee487 (patch) | |
tree | 99f4574fec61ab0211078d63da0dfd9014850fc3 /retiolum/bin/pgrep-retiolum-tincd-args | |
parent | 30ec5d0a41d162ebe89a5cff44e12f3153d21fe0 (diff) |
//retiolum update: cp tinc-up and restart tincd
This commit updates /etc's tinc-up if it has changed and then restarts
tincd. If tinc-up hasn't changed then only HUP and ALRM are sent to
the retiolum tincd process.
Diffstat (limited to 'retiolum/bin/pgrep-retiolum-tincd-args')
-rwxr-xr-x | retiolum/bin/pgrep-retiolum-tincd-args | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/retiolum/bin/pgrep-retiolum-tincd-args b/retiolum/bin/pgrep-retiolum-tincd-args new file mode 100755 index 00000000..bd0bbc97 --- /dev/null +++ b/retiolum/bin/pgrep-retiolum-tincd-args @@ -0,0 +1,2 @@ +#! /bin/sh +ps -e -o args | grep -E '(^|[ /])tincd +.* (-n +|--net=)retiolum' |