Created
December 18, 2021 15:27
-
-
Save Jalle19/60532513bbcec2fa630a9d8b576d91e3 to your computer and use it in GitHub Desktop.
stunnel systemd service
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
[Unit] | |
Description=stunnel | |
After=network.target | |
Requires=network.target | |
[Service] | |
Type=simple | |
# NOTE: "foreground = yes" must be added to the configuration file | |
ExecStart=/usr/local/bin/stunnel /etc/stunnel/stunnel.conf | |
TimeoutStopSec=5 | |
Restart=always | |
RestartSec=5 | |
StartLimitInterval=0 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment