chown user hysteria
This commit is contained in:
@ -76,7 +76,8 @@ start_service() {
|
|||||||
|
|
||||||
update_env_file "$domain" "$port"
|
update_env_file "$domain" "$port"
|
||||||
create_service_file
|
create_service_file
|
||||||
|
chown -R hysteria:hysteria "/etc/letsencrypt/live/$domain"
|
||||||
|
chown -R hysteria:hysteria /etc/hysteria/core/scripts/singbox
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable singbox.service > /dev/null 2>&1
|
systemctl enable singbox.service > /dev/null 2>&1
|
||||||
systemctl start singbox.service > /dev/null 2>&1
|
systemctl start singbox.service > /dev/null 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user