jqqjj / socks5

(支持UDP和TCP的纯Go/Golang socks5服务器) socks5 proxy server builds with go/golang, which UDP and TCP are supported.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install as service systemd ubuntu 22.04

omgbox opened this issue · comments

service socket5 start
service socket5 stop

nano /etc/systemd/system/socket5.service


[Unit]
Description=socket5
After=network.target

[Service]
Type=simple
WorkingDirectory=/home
ExecStart=/home/linux_x86_64
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=socket5
User=root
Group=root
Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/home


[Install]
WantedBy=multi-user.target


copy binary into directory /home/linux_x86_64

in terminal systemctl enable socket5.service

service socket5 start

socket5://VPS-IP:1080

Did you have any trouble?

Did you have any trouble?

no trouble, just to share information with users who wish to install this as service in Linux