From fb291501b802ebd5104d21f74df565266e099da3 Mon Sep 17 00:00:00 2001 From: Tobias Bossert Date: Fri, 7 May 2021 16:36:59 +0200 Subject: [PATCH] fixed makefile for /bin --- README.md | 2 +- bin/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6f013579..793a631c 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ setup: Type=simple User=wireguard_manager Group=wireguard_manager - ExecStart=/usr/bin/perl /home/wireguard_manager/opt/wgwrangler/bin/wgwrangler.pl prefork --listen 'http://0.1.0.1:7171' + ExecStart=/usr/bin/perl /home/wireguard_manager/opt/wgwrangler/bin/wgwrangler prefork --listen 'http://127.0.0.1:7171' [Install] WantedBy=multi-user.target diff --git a/bin/Makefile.am b/bin/Makefile.am index d988aeba..8ac3355e 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -1,4 +1,4 @@ -dist_bin_SCRIPTS = $(MJ_SCRIPT) +dist_bin_SCRIPTS = wgwrangler install-exec-hook: [ "$(PERL5LIB)" == "" ] || cd "$(DESTDIR)$(bindir)" && $(PERL) -i -p -e 's{.*# PERL5LIB}{use lib qw($(PERL5LIB)); # PERL5LIB}' $(dist_bin_SCRIPTS) || true