Add logging to MQTT client and main application; create systemd service file
This commit is contained in:
parent
fa8bb1d8a9
commit
d827788da1
3 changed files with 21 additions and 2 deletions
12
hasspy.service
Normal file
12
hasspy.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Hasspy
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/edpibu/Code/hasspy
|
||||
ExecStart=/usr/bin/uv run main.py
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue