From 88560b241b76932510a3ce268f8f52ca47d101ac Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Wed, 4 Oct 2023 09:06:35 +0200 Subject: [PATCH] example systemd service file added --- systemd/m32chat.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 systemd/m32chat.service diff --git a/systemd/m32chat.service b/systemd/m32chat.service new file mode 100644 index 0000000..54ba875 --- /dev/null +++ b/systemd/m32chat.service @@ -0,0 +1,17 @@ +[Unit] +Description=Morserino Chat Server +After=syslog.target +After=network.target +After=redis.service + +[Service] +RestartSec=2s +Type=simple +User=myuser +Group=users +WorkingDirectory=/home/myuser +ExecStart=/usr/local/bin/m32chat +Restart=always + +[Install] +WantedBy=multi-user.target