From 802213b70979780627d99f670f72661c8ea3f522 Mon Sep 17 00:00:00 2001
From: "Edgar P. Burkhart" <git@edgarpierre.fr>
Date: Sun, 9 Mar 2025 11:22:58 +0100
Subject: [PATCH] Update systemd service file to use Python module execution

---
 hasspy.service | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hasspy.service b/hasspy.service
index 7358d01..06affb8 100644
--- a/hasspy.service
+++ b/hasspy.service
@@ -4,8 +4,7 @@ After=network.target
 
 [Service]
 Type=simple
-WorkingDirectory=/home/edpibu/Code/hasspy
-ExecStart=/usr/bin/uv run main.py
+ExecStart=/usr/bin/python -m hasspy
 Restart=always
 
 [Install]