1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-12-21 23:31:34 -05:00
Synapse-Ubuntu-ZFS/etc/systemd/system/mjolnir-module-updater.service
2023-08-25 13:17:37 -07:00

15 lines
451 B
Desktop File

[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