compose-website/unit-files/static-git-puller@.service
2014-11-04 19:16:15 +00:00

9 lines
183 B
Desktop File

[Unit]
Description=git puller
[Service]
Type=oneshot
ExecStart=/bin/bash -euxc ' \
app=`echo %p | cut -d"-" -f1,2`; \
cd /data/runtime/domains/%i/$app/www-content; \
git pull'