9 lines
183 B
Desktop File
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'
|