-
Notifications
You must be signed in to change notification settings - Fork 5
/
sample_deploy.conf
36 lines (27 loc) · 912 Bytes
/
sample_deploy.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
###
# Letsencrypt.sh Dreamhost Hook
# File Deployment Configuration
###
# List the domains you want to deploy files for
domains:
# Put the full domain here
first.example.com:
# First deployment location
- cert: '/home/user/ssl/server.crt'
privkey: '/home/user/ssl/server.key'
# Deploy to a local LAMPP installation
- cert: '/opt/lampp/etc/ssl.crt/server.crt'
privkey: '/opt/lampp/etc/ssl.key/server.key'
# A second domain
anotherdomain.com:
# This example only needs a fullchain
- fullchain: /sites/anotherdomain.com/full.cert
# Commandline actions to run after the above files are deployed
# The actions will fire in the order listed
post_actions:
# First action example - restart LAMPP
- '/opt/lampp/lampp restart'
# Second action example - a multi-part action
- 'killall -u root server-daemon'
- 'sleep 5'
- '/etc/init.d/server-daemon restart'