mirror of
https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS
synced 2024-11-18 08:21:34 -05:00
15 lines
451 B
SYSTEMD
15 lines
451 B
SYSTEMD
|
[Unit]
|
||
|
Description=Automatic Mjolnir Module Updater
|
||
|
After=docker.service
|
||
|
Requires=network-online.target
|
||
|
Requires=docker.service
|
||
|
|
||
|
[Service]
|
||
|
User=root
|
||
|
Group=root
|
||
|
ExecStart=/opt/venvs/matrix-synapse/bin/pip install -U "git+https://github.com/matrix-org/mjolnir.git#egg=mjolnir&subdirectory=synapse_antispam"
|
||
|
ExecStart=/usr/bin/chmod -R o+rx /opt/venvs/matrix-synapse/lib/python3.10/site-packages/mjolnir
|
||
|
Type=oneshot
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|