From 6888d7c881d1a58fb58796c570040936ea947236 Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Mon, 20 Jan 2025 10:30:58 -0500 Subject: [PATCH] Update service management commands --- .github/workflows/deploy-test.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index fa27332..1788ec1 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -29,12 +29,5 @@ jobs: python3 -m venv /var/www/littlesongplace-test/venv /var/www/littlesongplace-test/venv/bin/pip install -r /var/www/littlesongplace-test/requirements.txt - # Symlink service - systemctl --user stop littlesongplace-test.service - mkdir -p /home/github/.config/systemd/user/ - rm -f /home/github/.config/systemd/user/littlesongplace-test.service - ln -s /var/www/littlesongplace-test/service/test.service /home/github/.config/systemd/user/littlesongplace-test.service - # Restart service - systemctl --user daemon-reload - systemctl --user start littlesongplace-test.service + sudo systemctl restart littlesongplace-test.service -- 2.39.5