1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-11-13 22:21:33 -05:00
Synapse-Ubuntu-ZFS/etc/systemd/system/container-updater.service

17 lines
329 B
SYSTEMD
Raw Normal View History

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