compose-website/unit-files/nginx-gitpuller@.service
2014-11-04 15:57:07 +00:00

9 lines
179 B
Desktop File

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