]> littlesong.place Git - littlesongplace.git/commitdiff
Update service management commands
authorChris Fulljames <christianfulljames@gmail.com>
Mon, 20 Jan 2025 15:30:58 +0000 (10:30 -0500)
committerChris Fulljames <christianfulljames@gmail.com>
Mon, 20 Jan 2025 15:30:58 +0000 (10:30 -0500)
.github/workflows/deploy-test.yml

index fa2733220391e91cfecbb2f5e5da19e37949e0b5..1788ec15e04dc601ca07fe82e2d6cff1fff2fcde 100644 (file)
@@ -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