1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-11-18 08:21:34 -05:00
Synapse-Ubuntu-ZFS/etc/systemd/system/mjolnir-module-updater.service

15 lines
451 B
SYSTEMD
Raw Normal View History

2023-08-25 16:17:37 -04:00
[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