useful_web_tools/deploy.sh

11 lines
286 B
Bash
Executable File

#!/bin/bash
cp cert_decoder/cert-decoder.service /lib/systemd/system/
cp diff/diff-tool.service /lib/systemd/system/
systemctl enable --now cert-decoder
systemctl enable --now diff-tool
sudo systemctl daemon-reload
sudo systemctl restart cert-decoder
sudo systemctl restart diff-tool