fix access on /etc/apache2/pems-enabled
This commit is contained in:
parent
406630bd54
commit
e3a8a79d0f
@ -275,6 +275,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
|
||||
+ "chown root:acmebot " + domName + "*" ),
|
||||
new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && "
|
||||
+ "mkdir -p $PEMS_DIR && "
|
||||
+ "chown acmebot:acmebot $PEMS_DIR && "
|
||||
+ "cd $PEMS_DIR && "
|
||||
+ "( ls " + domName + ".crt ||"
|
||||
+ " ( ln -s ../pems-generated/" + domName + ".key " + domName + ".key"
|
||||
|
Loading…
Reference in New Issue
Block a user