Skip to content
nginx-gitpuller@.service 178 B
Newer Older
Michiel de Jong's avatar
Michiel de Jong committed
[Unit]
Description=git puller
Michiel de Jong's avatar
Michiel de Jong committed

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