From a7c25076d16bde9ec928b9ef01bce952406ea7b1 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Wed, 8 Apr 2026 14:29:21 -0500 Subject: initial commit --- hutch-notify.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 hutch-notify.service (limited to 'hutch-notify.service') 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 -- cgit v1.2.3