mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 21:50:46 +00:00
16 lines
425 B
SYSTEMD
16 lines
425 B
SYSTEMD
|
[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/sh %T/coreos-home-server/hooks/post-merge
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|