Skip to content

Instantly share code, notes, and snippets.

@manhlinhng
Last active December 13, 2022 23:12
Show Gist options
  • Save manhlinhng/34b1fee5f72b83fc211648303ebaa453 to your computer and use it in GitHub Desktop.
Save manhlinhng/34b1fee5f72b83fc211648303ebaa453 to your computer and use it in GitHub Desktop.
[Unit]
Description=3proxy tiny proxy server
Documentation=man:3proxy(1)
After=network.target
[Service]
ExecStart=/usr/local/3proxy/bin/3proxy /usr/local/3proxy/3proxy.cfg
ExecReload=/bin/kill -SIGUSR1 $MAINPID
KillMode=process
Restart=on-failure
RestartSec=60s
LimitNOFILE=65536
LimitNPROC=32768
RuntimeDirectory=3proxy
[Install]
WantedBy=multi-user.target
Alias=3proxy.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment