Skip to content

Instantly share code, notes, and snippets.

@HaoweiCh
Created January 23, 2023 03:03
Show Gist options
  • Save HaoweiCh/4c622e55020fae4bf2872c0f03dc9258 to your computer and use it in GitHub Desktop.
Save HaoweiCh/4c622e55020fae4bf2872c0f03dc9258 to your computer and use it in GitHub Desktop.
frp-server
[Unit]
Description=Frp Server Service
After=network.target
[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/frps -c /etc/frp/frps.ini
LimitNOFILE=1048576
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment