diff --git a/README.md b/README.md index 34ec9f5b..0a53a86e 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,7 @@ Type=simple User= Group= ExecStart=/usr/local/bin/backrest +Environment="BACKREST_PORT=127.0.0.1:9898" [Install] WantedBy=multi-user.target diff --git a/install.sh b/install.sh index e5a4be0a..a72b2a26 100755 --- a/install.sh +++ b/install.sh @@ -27,6 +27,7 @@ Type=simple User=$(whoami) Group=$(whoami) ExecStart=/usr/local/bin/backrest +Environment="BACKREST_PORT=127.0.0.1:9898" [Install] WantedBy=multi-user.target @@ -60,6 +61,8 @@ create_launchd_plist() { PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin + BACKREST_PORT + 127.0.0.1:9898