mirror of
https://github.com/tommytran732/Fedora-CoreOS-Ignition.git
synced 2024-12-25 23:39:21 -05:00
18 lines
351 B
Desktop File
18 lines
351 B
Desktop File
[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 pull
|
|
ExecStart=/usr/bin/docker-compose up -d
|
|
Type=oneshot
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|