mirror of
https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS
synced 2024-12-22 07:41:32 -05:00
15 lines
451 B
Desktop File
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 |