mirror of
https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS
synced 2024-12-22 15:41:35 -05:00
17 lines
329 B
SYSTEMD
17 lines
329 B
SYSTEMD
|
[Unit]
|
||
|
Description=Automatic Container Updater
|
||
|
After=docker.service
|
||
|
Requires=network-online.target
|
||
|
Requires=docker.service
|
||
|
|
||
|
[Service]
|
||
|
User=root
|
||
|
Group=root
|
||
|
WorkingDirectory=/srv/Matrix-Docker-Compose
|
||
|
ExecStart=/usr/bin/docker compose pull
|
||
|
ExecStart=/usr/bin/docker compose up -d
|
||
|
Type=oneshot
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|