Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more jail mount to ddns-go to fix Get IP from CLI #960

Merged
merged 4 commits into from
Nov 5, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions net/ddns-go/files/ddns-go.init
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@ start_service() {
procd_set_param respawn
procd_set_param stderr 1
procd_set_param user ddns-go

procd_add_jail "$CONF" log
procd_add_jail_mount_rw "$YAML"
procd_add_jail_mount "/etc/localtime"
procd_add_jail_mount "/etc/TZ"
procd_add_jail_mount "/etc/ssl/"
procd_set_param env PATH=/usr/sbin:/usr/bin:/sbin:/bin
Ricky-Hao marked this conversation as resolved.
Show resolved Hide resolved

procd_close_instance
}
Expand Down
Loading