Skip to content
static-git-puller@.service 183 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,2`; \
  cd /data/runtime/domains/%i/$app/www-content; \
  git pull'