17 lines
330 B
SYSTEMD
17 lines
330 B
SYSTEMD
|
[Unit]
|
||
|
Description=Plugin-based Matrix bot system
|
||
|
|
||
|
[Service]
|
||
|
WorkingDirectory=/var/lib/maubot
|
||
|
EnvironmentFile=-/etc/default/maubot
|
||
|
ExecStart=/usr/bin/python3 -m maubot --config $CONFIG $ARGS
|
||
|
User=maubot
|
||
|
Group=maubot
|
||
|
CapabilityBoundingSet=
|
||
|
Restart=on-failure
|
||
|
TimeoutStopSec=5
|
||
|
SendSIGKILL=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|