Hello list
I have stunnel 4.7
When I run in stunnel.log is error
########
 Cannot create pid file /var/run/stunnel.pid
#############
The directory /var/run is ok example
#######
prueba:/usr/local/etc/stunnel # ls -l /var/run
total 37
drwxr-xr-x   7 root root  536 Jan 25 12:03 .
drwxr-xr-x  13 root root  336 Sep  8 15:19 ..
srw-rw-rw-   1 root root    0 Jan 25 12:03 .resmgr_socket
#####
 My stunnel.conf is
#client = no
 
#
# chroot + user (comment out to disable)
#
chroot = /var/lib/stunnel/
setuid = stunnel
setgid = nogroup
pid = /var/run/stunnel.pid
cert = /usr/local/etc/stunnel/stunnel.pem
 [ssmtp]
 accept  = 465
 connect = 25
####
Please, help me.
Best Regards
Morell