websoft9/systemd/websoft9.service

16 lines
321 B
SYSTEMD
Raw Normal View History

2021-08-27 18:27:28 +08:00
[Unit]
2023-09-19 09:02:56 +08:00
Description=Websoft9 PaaS Platform
2023-09-19 15:40:14 +08:00
Requires=network.target docker
After=network.target docker
2021-08-27 18:27:28 +08:00
[Service]
KillSignal=SIGQUIT
WorkingDirectory=/data/develop/stackhub/api
ExecStart=python3 uvicorn main:app --reload
Restart=always
Type=notify
NotifyAccess=all
StandardError=syslog
[Install]
2023-09-19 15:40:14 +08:00
WantedBy=multi-user.target