mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
Matching the full process name (-x without -f) or full command line (-xf) is less prone to mistakes like matching a random substring of some other command line or pgrep matching itself. Signed-off-by: Anders Kaseorg <anders@zulip.com>
2 lines
130 B
Plaintext
2 lines
130 B
Plaintext
* * * * * root /bin/bash -c '(pgrep -u nobody -F /var/run/camo.pid || /etc/init.d/camo restart) 2>&1 >>/var/log/camo/restart-log'
|