Fix singbox_shell.sh path bug
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user