oxedyne/fe2o3/fe2o3_steel/test_old
500 bytes, 1 run, executable
created by r1870400018:1006, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | #!/bin/bash |
| 2 | # Cp the certificate files into place and run. |
| 3 | |
| 4 | user=$(whoami) |
| 5 | app_domain=powls.com.au |
| 6 | trg=~/usr/code/web/apps/test/tls/ |
| 7 | cert=fullchain.pem |
| 8 | key=privkey.pem |
| 9 | src=/etc/letsencrypt/live |
| 10 | echo "Permission needed to copy TLS certificate files..." |
| 11 | sudo cp $src/$app_domain/$cert $trg |
| 12 | sudo cp $src/$app_domain/$key $trg |
| 13 | sudo chown $user:$user ${trg}${cert} |
| 14 | sudo chown $user:$user ${trg}${key} |
| 15 | echo "Copied TLS certificate and private key from $src to $trg" |
| 16 | |
| 17 | clear |
| 18 | cargo test server -- --nocapture |