Fix singbox_shell.sh path bug

This commit is contained in:
Iam54r1n4
2025-02-04 16:38:35 +00:00
parent cb82cc9fd4
commit 26ea81e0dc

View File

@ -32,7 +32,7 @@ Description=Singbox Python Service
After=network.target After=network.target
[Service] [Service]
ExecStart=/bin/bash -c 'source /etc/hysteria/hysteria2_venv/bin/activate && /etc/hysteria/hysteria2_venv/bin/python /etc/hysteria/core/scripts/singbox/singbox.py' ExecStart=/bin/bash -c 'source /etc/hysteria/hysteria_venv/bin/activate && /etc/hysteria/hysteria2_venv/bin/python /etc/hysteria/core/scripts/singbox/singbox.py'
WorkingDirectory=/etc/hysteria/core/scripts/singbox WorkingDirectory=/etc/hysteria/core/scripts/singbox
EnvironmentFile=/etc/hysteria/core/scripts/singbox/.env EnvironmentFile=/etc/hysteria/core/scripts/singbox/.env
Restart=always Restart=always