mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +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
|