compose-website/unit-files/static-git-puller@.service

10 lines
183 B
SYSTEMD
Raw Normal View History

2014-10-28 07:42:53 +00:00
[Unit]
2014-11-04 15:57:07 +00:00
Description=git puller
2014-10-28 07:42:53 +00:00
[Service]
2014-10-30 14:34:19 +00:00
Type=oneshot
2014-11-04 15:57:07 +00:00
ExecStart=/bin/bash -euxc ' \
app=`echo %p | cut -d"-" -f1,2`; \
cd /data/runtime/domains/%i/$app/www-content; \
2014-11-04 15:57:07 +00:00
git pull'