install_r45_on_ubuntu_1804l.../close_site.sh

2 lines
155 B
Bash
Raw Normal View History

2022-06-27 08:36:05 +00:00
#!/bin/bash
2022-03-24 15:21:34 +00:00
UNICORN_PID="$(fuser tmp/pids/unicorn.sock tmp/sockets/unicorn.sock tmp/unicorn.sock) $(cat tmp/pids/unicorn.pid)" && kill -s TERM $UNICORN_PID