mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 11:28:59 +00:00
452c5d5e91
According to http://linux.die.net/man/1/pkill the signal name must be **before** anything else.
7 lines
102 B
Bash
Executable File
7 lines
102 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
if [[ ${1:-} == configure ]]; then
|
|
pkill -HUP -x syncthing || true
|
|
fi
|