aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2022-12-31 16:37:37 +0000
committerMartin Ashby <martin@ashbysoft.com>2022-12-31 16:37:37 +0000
commitb51a506e908ca0ab6c1409eab8b6af9d8c288ff1 (patch)
tree7b556accf1a971dc79da29214959c99db6bc9ead /deploy.sh
parent511576c016f39fc48d83266fe20c418c9ee10ec2 (diff)
downloadmfashby.net-b51a506e908ca0ab6c1409eab8b6af9d8c288ff1.tar.gz
mfashby.net-b51a506e908ca0ab6c1409eab8b6af9d8c288ff1.tar.bz2
mfashby.net-b51a506e908ca0ab6c1409eab8b6af9d8c288ff1.tar.xz
mfashby.net-b51a506e908ca0ab6c1409eab8b6af9d8c288ff1.zip
Use EnvironmentFile to keep server-only values on the server,
but still keep the systemd unit file in git and deploy it usually
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index 04270e8..4c32b5b 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -22,7 +22,7 @@ rsync -rz public/* root@rpi3:/var/www/mfashby.net
# Copy comments app and reboot
ssh root@rpi3 -C systemctl stop comments
rsync comments/target/aarch64-unknown-linux-gnu/release/comments root@rpi3:/usr/local/bin/comments
-#rsync comments/comments.service root@rpi3:/etc/systemd/system/comments.service
+rsync comments/comments.service root@rpi3:/etc/systemd/system/comments.service
ssh root@rpi3 -C systemctl daemon-reload
ssh root@rpi3 -C systemctl restart comments