compose-website/unit-files/static-git-puller@.service
2014-12-02 14:47:55 +00:00

12 lines
243 B
Desktop File

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