From 24f572c1898b800daa8177720ec9b1db50357ec8 Mon Sep 17 00:00:00 2001 From: a <a@trwnh.com> Date: Wed, 12 Mar 2025 03:47:13 +0000 Subject: [PATCH] Update contrib/umi@.service --- contrib/umi@.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/umi@.service b/contrib/umi@.service index e3139ca..5dc469e 100644 --- a/contrib/umi@.service +++ b/contrib/umi@.service @@ -8,7 +8,8 @@ User=discord WorkingDirectory=/srv/discord/%I EnvironmentFile=/srv/discord/%I/.env ExecStart=/srv/discord/.venv/bin/python -u app.py -ExecStop=/srv/discord/%I/notify.sh %i +ExecStopPost=/srv/discord/%I/notify.sh "umi instance stopped: \`%i\`" +ExecStartPost=/srv/discord/%I/notify.sh "umi instance started: \`%i\`" [Install] WantedBy=multi-user.target