mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 20:26:21 +00:00
10 lines
171 B
Bash
Executable file
10 lines
171 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
cd /srv/http
|
|
|
|
for patch in /tmp/patches-${1}/*.patch; do
|
|
su -c "patch -Np 1 -i ${patch}" app && rm $patch
|
|
done
|
|
|
|
cat tmp/puma.pid | xargs -r kill -USR2
|