Browse Source

provision.pl - garbage garbage garbage

master
gashapwn 3 years ago
parent
commit
b54c33a442
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      perl-script/provision.pl

+ 1
- 1
perl-script/provision.pl View File

@@ -126,7 +126,7 @@ if( ($admin_un) = `tail /etc/passwd | grep -v "nobody:"` =~ /([^:\n]+):[^:]+:[0-
system("pkg_add python3 openssl rust py3-flask-0.12.3p2");
printf("generating virtual enviornment...\n");
system("su $SVC_ACCT -c 'python3 -m venv venv'");
system("su $SVC_ACCT -c 'py3-cryptography-3.1.1'");
system("su $SVC_ACCT -c 'python3 -m pip install --upgrade pip'");
system("su $SVC_ACCT -c '. ./venv/bin/activate && pip3 install -r requirements.txt'");

system("cp ./perl-script/conf/lingyin.rc /etc/rc.d/lingyind");


Loading…
Cancel
Save