mirror of
https://github.com/42wim/matterbridge.git
synced 2025-04-22 07:37:51 +02:00
Add service file page.
parent
57c6ee53db
commit
3f4bb75c8f
22
Service-file.md
Normal file
22
Service-file.md
Normal file
@ -0,0 +1,22 @@
|
||||
A sample systemd to run matterbridge in the background, restarting if necessary.
|
||||
|
||||
```
|
||||
[Unit]
|
||||
Description=Matterbridge Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/opt/mattermost/matterbridge-1.21.0/matterbridge -debug -conf matterbridge.toml
|
||||
TimeoutStartSec=3600
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
WorkingDirectory=/opt/mattermost/matterbridge-1.21.0
|
||||
User=mattermost
|
||||
Group=mattermost
|
||||
LimitNOFILE=49152
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
Created by Minecraftchest1
|
Loading…
x
Reference in New Issue
Block a user