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 + "*" ),
|
+ "chown root:acmebot " + domName + "*" ),
|
||||||
new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && "
|
new ShellProcessor("export PEMS_DIR=/etc/apache2/pems-enabled && "
|
||||||
+ "mkdir -p $PEMS_DIR && "
|
+ "mkdir -p $PEMS_DIR && "
|
||||||
|
+ "chown acmebot:acmebot $PEMS_DIR && "
|
||||||
+ "cd $PEMS_DIR && "
|
+ "cd $PEMS_DIR && "
|
||||||
+ "( ls " + domName + ".crt ||"
|
+ "( ls " + domName + ".crt ||"
|
||||||
+ " ( ln -s ../pems-generated/" + domName + ".key " + domName + ".key"
|
+ " ( ln -s ../pems-generated/" + domName + ".key " + domName + ".key"
|
||||||
|
Loading…
Reference in New Issue
Block a user