diff options
| author | Christian Cleberg <[email protected]> | 2026-04-08 14:29:21 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-08 14:29:21 -0500 |
| commit | a7c25076d16bde9ec928b9ef01bce952406ea7b1 (patch) | |
| tree | 802c5f84902f240c6aab95acc1e6348dfbd806c2 /hutch-notify.service | |
| download | hutch-notify-a7c25076d16bde9ec928b9ef01bce952406ea7b1.tar.gz hutch-notify-a7c25076d16bde9ec928b9ef01bce952406ea7b1.tar.bz2 hutch-notify-a7c25076d16bde9ec928b9ef01bce952406ea7b1.zip | |
initial commit
Diffstat (limited to 'hutch-notify.service')
| -rw-r--r-- | hutch-notify.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/hutch-notify.service b/hutch-notify.service new file mode 100644 index 0000000..bb7060f --- /dev/null +++ b/hutch-notify.service @@ -0,0 +1,15 @@ +[Unit] +Description=Hutch Notify API +After=network.target + +[Service] +User=hutch +Group=hutch +WorkingDirectory=/opt/hutch-notify +EnvironmentFile=/opt/hutch-notify/.env +ExecStart=/opt/hutch-notify/.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000 +Restart=always +RestartSec=5 + +[Install] +WantedBy=multi-user.target |
