Oregami
Repositories/oxedyne/fe2o3

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
4user=$(whoami)
5app_domain=powls.com.au
6trg=~/usr/code/web/apps/test/tls/
7cert=fullchain.pem
8key=privkey.pem
9src=/etc/letsencrypt/live
10echo "Permission needed to copy TLS certificate files..."
11sudo cp $src/$app_domain/$cert $trg
12sudo cp $src/$app_domain/$key $trg
13sudo chown $user:$user ${trg}${cert}
14sudo chown $user:$user ${trg}${key}
15echo "Copied TLS certificate and private key from $src to $trg"
16
17clear
18cargo test server -- --nocapture