mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
16 lines
300 B
Desktop File
16 lines
300 B
Desktop File
[Unit]
|
|
Description=My fastapi app
|
|
Requires=network.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
KillSignal=SIGQUIT
|
|
WorkingDirectory=/data/develop/stackhub/api
|
|
ExecStart=python3 uvicorn main:app --reload
|
|
Restart=always
|
|
Type=notify
|
|
NotifyAccess=all
|
|
StandardError=syslog
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|