systemd templated unit file

This commit is contained in:
Vladimir Vitkov 2017-07-24 15:26:19 +03:00
parent 3557f06ec8
commit 838f599904
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Unit]
Description=matterbridge sync service (%i)
After=network.target
[Service]
User=nobody
Group=nogroup
PrivateTmp=yes
ExecStart=/opt/matterbridge/bin/matterbridge -conf /etc/matterbridge/%i.json
[Install]
WantedBy=multi-user.target