mirror of
https://github.com/TommyTran732/Fedora-CoreOS-Ignition.git
synced 2025-08-18 23:36:26 +02:00
Add files via upload
This commit is contained in:
15
auto-updater.service
Normal file
15
auto-updater.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[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
|
Reference in New Issue
Block a user