We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3291184 commit 9198353Copy full SHA for 9198353
2 files changed
.gitignore
@@ -1,4 +1,5 @@
1
.config.json
2
+.logs/
3
__pycache__/
4
.pytest_cache/
5
.tox/
services/hss.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Home Security System
+After=network.target
+
+[Service]
6
+ExecStart=/home/raspberry/home-security-system/.hss_venv/bin/python /home/raspberry/home-security-system/main.py
7
+Restart=always
8
+User=raspberry
9
+WorkingDirectory=/home/raspberry/home-security-system/
10
+ExecStartPre=/bin/sleep 30
11
+RestartSec=30
12
13
+[Install]
14
+WantedBy=default.target
0 commit comments