fix onion dir
This commit is contained in:
parent
89f4a9929d
commit
42e31f49ee
|
@ -3,6 +3,8 @@ commands:
|
|||
command: 'sudo amazon-linux-extras install epel'
|
||||
01_install_tor:
|
||||
command: 'sudo yum install -y tor'
|
||||
02_sn_onion:
|
||||
command: "sudo install -d -m 700 -o toranon -g toranon /var/lib/tor/sn"
|
||||
files:
|
||||
"/etc/tor/torrc":
|
||||
mode: "000644"
|
||||
|
|
|
@ -10,9 +10,6 @@ Resources:
|
|||
Namespace: "aws:autoscaling:launchconfiguration"
|
||||
OptionName: "IamInstanceProfile"
|
||||
DefaultValue: "aws-elasticbeanstalk-ec2-role"
|
||||
container_commands:
|
||||
01_create_sn_dir:
|
||||
command: "install -d -m 700 -o toranon -g toranon /var/lib/tor/sn"
|
||||
files:
|
||||
"/var/lib/tor/sn/hostname" :
|
||||
mode: "000600"
|
||||
|
|
Loading…
Reference in New Issue