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