mirror of
https://github.com/tommytran732/Fedora-CoreOS-Ignition
synced 2024-11-09 11:41:34 -05:00
16 lines
299 B
SYSTEMD
16 lines
299 B
SYSTEMD
|
[Unit]
|
||
|
Description=Automatic Updater
|
||
|
After=docker.service
|
||
|
Wants=network-online.target
|
||
|
Requires=docker.service
|
||
|
|
||
|
[Service]
|
||
|
User=root
|
||
|
Group=root
|
||
|
WorkingDirectory=/path/to/docker-compose/directory
|
||
|
ExecStart=/usr/bin/git pull
|
||
|
ExecStart=/usr/bin/docker-compose up -d
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|