create service tor dir

This commit is contained in:
keyan 2022-07-12 12:22:20 -05:00
parent fde8937098
commit 89f4a9929d
1 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,9 @@ 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"
@ -29,4 +32,3 @@ files:
group: toranon
authentication: "S3Auth"
source: https://elasticbeanstalk-us-east-1-685922807022.s3.amazonaws.com/sn/hs_ed25519_secret_key