[PR #280] [MERGED] add check for /opt/src/env/vpn.env env file #481

Closed
opened 2026-03-02 08:35:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hwdsl2/docker-ipsec-vpn-server/pull/280
Author: @fty4
Created: 2/18/2022
Status: Merged
Merged: 2/19/2022
Merged by: @hwdsl2

Base: masterHead: feature/vpn_env_directory


📝 Commits (1)

  • ad8f67d add check for /opt/src/env/vpn.env env file

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 run.sh (+4 -0)

📄 Description

To not overwrite files in /opt/src when mounting a directory the run.sh script will also check the subdirectory env.
Otherwise the default file /opt/src/vpn.env will be used.

find discussion in #279.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hwdsl2/docker-ipsec-vpn-server/pull/280 **Author:** [@fty4](https://github.com/fty4) **Created:** 2/18/2022 **Status:** ✅ Merged **Merged:** 2/19/2022 **Merged by:** [@hwdsl2](https://github.com/hwdsl2) **Base:** `master` ← **Head:** `feature/vpn_env_directory` --- ### 📝 Commits (1) - [`ad8f67d`](https://github.com/hwdsl2/docker-ipsec-vpn-server/commit/ad8f67da752a9d93fe6e28b4022402f733e8f591) add check for /opt/src/env/vpn.env env file ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `run.sh` (+4 -0) </details> ### 📄 Description To not overwrite files in /opt/src when mounting a directory the run.sh script will also check the subdirectory env. Otherwise the default file /opt/src/vpn.env will be used. find discussion in #279. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 08:35:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-ipsec-vpn-server#481
No description provided.