Last active
September 14, 2021 11:35
-
-
Save ghostzero/883620e7705d69f616c8a9c894e906c4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| cat <<EOF > /lib/systemd/system/[email protected] | |
| [Unit] | |
| Description=Fast and Secure Tunnelling Daemon (connection %I) | |
| After=network.target | |
| [Service] | |
| Type=notify | |
| ExecStart=/usr/local/bin/fastd --syslog-level info --syslog-ident fastd@%I -c /etc/fastd/%I/fastd.conf | |
| ExecReload=/bin/kill -HUP $MAINPID | |
| [Install] | |
| WantedBy=multi-user.target | |
| EOF | |
| systemctl daemon-reload | |
| systemctl enable [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment