Created
April 5, 2022 16:22
-
-
Save zengxs/67cc0d1e3ec37b64ffe689189816500a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/systemd/system/[email protected] | |
[Unit] | |
Description=GO Simple Tunnel - %i | |
After=network.target | |
[Service] | |
Type=simple | |
User=nobody | |
Group=nogroup | |
ExecStart=/usr/local/bin/gost -C /etc/gost/%i.json | |
ExecStop=/bin/kill -- $MAINPID | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment