forked from GNUsocial/gnu-social
		
	[DOCKER][MAIL] Fixed variable expansion in run
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
PID=$(pgrep dovecot)
 | 
					PID=$(pgrep dovecot)
 | 
				
			||||||
if [ -z ${PID} ]
 | 
					if [ -z "${PID}" ]
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
    exec /usr/sbin/dovecot -c /etc/mail/dovecot/dovecot.conf
 | 
					    exec /usr/sbin/dovecot -c /etc/mail/dovecot/dovecot.conf
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
PID=$(pgrep opendkim)
 | 
					PID=$(pgrep opendkim)
 | 
				
			||||||
if [ -z ${PID} ]
 | 
					if [ -z "${PID}" ]
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
    exec /usr/sbin/opendkim -x /etc/mail/opendkim/opendkim.conf
 | 
					    exec /usr/sbin/opendkim -x /etc/mail/opendkim/opendkim.conf
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
PID=$(pgrep master)
 | 
					PID=$(pgrep master)
 | 
				
			||||||
if [ -z ${PID} ]
 | 
					if [ -z "${PID}" ]
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
    exec /usr/sbin/postfix start -c /etc/mail/postfix
 | 
					    exec /usr/sbin/postfix start -c /etc/mail/postfix
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
PID=$(pgrep rsyslog)
 | 
					PID=$(pgrep rsyslog)
 | 
				
			||||||
if [ -z ${PID} ]
 | 
					if [ -z "${PID}" ]
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
    exec /usr/sbin/rsyslogd -f /etc/mail/rsyslogd/rsyslog.conf
 | 
					    exec /usr/sbin/rsyslogd -f /etc/mail/rsyslogd/rsyslog.conf
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
		Reference in New Issue
	
	Block a user