From a7b59a951b5b884bb2ba0fd1105918d2d5150fcd Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 12:34:32 +0200 Subject: Initial Systemd Service Run: 1/3 Signed-off-by: Georg --- systemd/mattermost.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 systemd/mattermost.service (limited to 'systemd/mattermost.service') diff --git a/systemd/mattermost.service b/systemd/mattermost.service new file mode 100644 index 0000000..14d0a4d --- /dev/null +++ b/systemd/mattermost.service @@ -0,0 +1,17 @@ +[Unit] +Description=Mattermost +After=syslog.target network.target mysql.service + +[Service] +Type=notify +WorkingDirectory=/opt/mattermost +User=mattermost +Group=mattermost +ExecStart=/opt/mattermost/bin/mattermost +PIDFile=/run/mattermost/master.pid +TimeoutStartSec=3600 +LimitNOFILE=49152 +RuntimeDirectory=mattermost + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3