From: Chris Fulljames Date: Mon, 20 Jan 2025 15:30:58 +0000 (-0500) Subject: Update service management commands X-Git-Url: https://littlesong.place/gitweb/?a=commitdiff_plain;h=6888d7c881d1a58fb58796c570040936ea947236;p=littlesongplace.git Update service management commands --- 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