Skip to content

install as service systemd ubuntu 22.04 #6

@omgbox

Description

@omgbox

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions