aboutsummaryrefslogblamecommitdiffstats
path: root/roles/space_server/files/radius/certbot.sh
blob: f6749a88dfdf1dfea78d7f687f46bcbbc2eaedfa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                      
#!/bin/bash

set -e

case "$RENEWED_LINEAGE" in
*/space.labitat.dk)
  install -m640 -o root -g radiusd \
    "$RENEWED_LINEAGE/privkey.pem" \
    "$RENEWED_LINEAGE/fullchain.pem" \
    /etc/raddb/certs/
  systemctl reload radiusd.service
  ;;
esac

# vim: set ts=2 sw=2 et: