mirror of
https://github.com/moparisthebest/sslh
synced 2024-11-16 22:25:01 -05:00
5ae9ba184c
This is an update of the init scripts originally written by Andre Krajnik. It is quite similar to other init scripts brought by common packages in RH/CentOS. This commit also introduces a pretty straight forward sysconfig file.
37 lines
716 B
Plaintext
37 lines
716 B
Plaintext
#
|
|
# The default processing model uses select
|
|
# A fork model is also available
|
|
#
|
|
#SSLH=/usr/sbin/sslh-select
|
|
|
|
#
|
|
# If transparent mode is enabled, the following
|
|
# is needed in order to run as sslh user
|
|
#
|
|
#SSLH_USER=sslh
|
|
#setcap cap_net_bind_service,cap_net_admin=+ep $SSLH
|
|
|
|
#
|
|
# Configuration file for sslh
|
|
# Set empty to disable configuration file support
|
|
#
|
|
#CONFIG=/etc/sslh.cfg
|
|
|
|
#
|
|
# Extra option to pass on comand line
|
|
# Those can supersede configuration file settings
|
|
#
|
|
#OPTIONS=
|
|
|
|
#
|
|
# The sslh process is started by default with the C
|
|
# locale, it can be changed here
|
|
#
|
|
#SSLH_LANG=C
|
|
|
|
#
|
|
# If an alternate location is specified in configuration
|
|
# file, it needs to be reported here
|
|
#
|
|
#PIDFILE=/var/run/sslh/sslh.pid
|