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