From 60cd5140d23eeaa957a48d6604b5636861e9f8fe Mon Sep 17 00:00:00 2001 From: Jonathan Carter Date: Tue, 26 Aug 2025 15:58:42 +0200 Subject: [PATCH] Add systemd unit --- systemd/yasi-daemon.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 systemd/yasi-daemon.service diff --git a/systemd/yasi-daemon.service b/systemd/yasi-daemon.service new file mode 100644 index 0000000..b27939c --- /dev/null +++ b/systemd/yasi-daemon.service @@ -0,0 +1,14 @@ +[Unit] +Description=Yasi Daemon +After=network.target + +[Service] +ExecStart=yasi-daemon +Environment="FLASK_ENV=production" + +User=yasi +Group=yasi +Restart=always + +[Install] +WantedBy=multi-user.target