mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 03:37:02 +05:30
Switch caddy installer to Make
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
2b41b88b44
commit
fd379dc6c0
2 changed files with 13 additions and 6 deletions
13
Makefile
Normal file
13
Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
CADDYFILE_DEST := /etc/caddy/Caddyfile
|
||||
SERVICES := "caddy gitea mirror-bot mirror-bot-2 uno-bot walls-bot walls-bot-2"
|
||||
|
||||
caddy:
|
||||
@cp -v $(CADDYFILE_DEST) $(CADDYFILE_DEST).old
|
||||
@cp -v Caddyfile $(CADDYFILE_DEST)
|
||||
|
||||
caddyinstall:
|
||||
systemctl restart caddy
|
||||
|
||||
.DEFAULT: caddy
|
Loading…
Add table
Add a link
Reference in a new issue