fix onion dir

This commit is contained in:
keyan 2022-07-12 12:36:58 -05:00
parent 89f4a9929d
commit 42e31f49ee
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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"