feat: implement StaySense MVP backend, frontend, imports, and deployment docs
This commit is contained in:
commit
902988276c
24 changed files with 2536 additions and 0 deletions
18
deploy/systemd/staysense-api.service
Normal file
18
deploy/systemd/staysense-api.service
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=StaySense API Service
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
Group=www-data
|
||||
WorkingDirectory=/opt/staysense/backend
|
||||
Environment=STAYSENSE_SERVER_SALT=CHANGE_ME
|
||||
Environment=STAYSENSE_SIGNAL_COOLDOWN_HOURS=24
|
||||
ExecStart=/usr/bin/python3 /opt/staysense/backend/server.py
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue