coreos-home-server/config/common/systemd/coreos-home-server-update.service
Alex Palaistras 67e8a28b8f Correct issues with 'post-merge' hook
The use of 'rsync' is not compatible with the SELinux setup used in
CoreOS, and thus simple use of 'cp' and 'rm' is required.
2021-09-08 18:29:54 +01:00

16 lines
427 B
Desktop File

[Unit]
Description=CoreOS Home Server Update
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
SyslogIdentifier=%N
PrivateTmp=true
Environment=GIT_REMOTE_URL=https://github.com/deuill/coreos-home-server.git
ExecStartPre=/usr/bin/git clone --verbose --depth=1 -- $GIT_REMOTE_URL %T/coreos-home-server
ExecStart=/bin/bash %T/coreos-home-server/hooks/post-merge
[Install]
WantedBy=multi-user.target