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

install as service systemd ubuntu 22.04 #6

Open
omgbox opened this issue Dec 22, 2023 · 2 comments
Open

install as service systemd ubuntu 22.04 #6

omgbox opened this issue Dec 22, 2023 · 2 comments

Comments

@omgbox
Copy link

omgbox commented Dec 22, 2023

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

@jqqjj
Copy link
Owner

jqqjj commented Dec 26, 2023

Did you have any trouble?

@omgbox
Copy link
Author

omgbox commented Dec 31, 2023

Did you have any trouble?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants