Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ffbs
ffbs-gluon
Commits
68d970e9
Unverified
Commit
68d970e9
authored
5 years ago
by
Ralf Jung
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gluon-mesh-vpn-tunneldigger: only search for exactly the tunneldigger binary in watchdog (#1953)
parent
a77d01bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/gluon-mesh-vpn-tunneldigger/luasrc/usr/bin/tunneldigger-watchdog
+1
-1
1 addition, 1 deletion
...esh-vpn-tunneldigger/luasrc/usr/bin/tunneldigger-watchdog
with
1 addition
and
1 deletion
package/gluon-mesh-vpn-tunneldigger/luasrc/usr/bin/tunneldigger-watchdog
+
1
−
1
View file @
68d970e9
...
...
@@ -33,7 +33,7 @@ local function has_mesh_vpn_neighbours()
end
if
uci
:
get_bool
(
'tunneldigger'
,
'mesh_vpn'
,
'enabled'
)
then
if
io.popen
(
'pgrep tunneldigger'
):
read
(
'*l'
)
~=
read_pid_file
()
then
if
io.popen
(
'pgrep
-x /usr/bin/
tunneldigger'
):
read
(
'*l'
)
~=
read_pid_file
()
then
os.execute
(
'logger -t tunneldigger-watchdog "Process-Pid does not match with pid-File."'
)
restart_tunneldigger
()
return
...
...
This diff is collapsed.
Click to expand it.
chrissi^
@chrissi
mentioned in commit
12221d44
·
4 years ago
mentioned in commit
12221d44
mentioned in commit 12221d442fdbbe245dbd270535b2bcb49dae1340
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment