first commit
This commit is contained in:
16
systemd/skd.service
Normal file
16
systemd/skd.service
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Safe Kiddo Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=skd
|
||||
Group=skd
|
||||
WorkingDirectory=/opt/sk
|
||||
EnvironmentFile=/etc/skd/env
|
||||
ExecStart=/opt/sk/.venv/bin/uvicorn backend.app:app --host 0.0.0.0 --port 8000
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user