-
-
Save RushOnline/304bdeaf7e59467bd8ae5f15c780bc72 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
; in the name of ALLAH | |
; /etc/systemd/system/stunnel.service or /usr/lib/systemd/system/stunnel.service | |
; change "{{ config.conf }}" by your config path. | |
[Unit] | |
Description=SSL tunnel for network daemons | |
After=syslog.target | |
[Service] | |
ExecStart=/usr/sbin/stunnel {{ config.conf }} | |
ExecStop=kill -9 $(pgrep stunnel) | |
ExecStatus=pgrep stunnel | |
Type=forking | |
[Install] | |
WantedBy=multi-user.target | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment