From 28472913916e6d60438de59099522714c4e4aad7 Mon Sep 17 00:00:00 2001 From: sorrel Date: Sun, 14 Jan 2024 21:23:55 -0500 Subject: [PATCH] rename user, group and service --- .woodpecker/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/deploy.sh b/.woodpecker/deploy.sh index 89bd312..cc4f567 100755 --- a/.woodpecker/deploy.sh +++ b/.woodpecker/deploy.sh @@ -18,7 +18,7 @@ scp -r oxaliq "$host":~/ # TODO make this not remove the old-working version until # the new version is confirmed working echo "SETTING OWNERSHIP AND PERMISSIONS" -ssh $host 'sudo chown -R sorreldotdev:sorreldotdev oxaliq/' +ssh $host 'sudo chown -R oxaliqdotnet:oxaliqdotnet oxaliq/' ssh $host 'sudo chmod -R 755 oxaliq/' echo "REPLACING PREVIOUS DEPLOYMENT" @@ -26,7 +26,7 @@ ssh $host 'sudo rm -rf /srv/oxaliq || true' ssh $host 'sudo mv oxaliq /srv/.' echo "RESTARTING SERVICE" -ssh $host 'sudo systemctl restart sorreldotdev.service' +ssh $host 'sudo systemctl restart oxaliqdotnet.service' echo "SUCCESS!" exit 0