8 lines
160 B
Bash
Executable file
8 lines
160 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
# Read configuration
|
|
sourceconf() { [ -r "$1" ] && . "$1"; }
|
|
sourceconf ./conf
|
|
|
|
# Delete socket and PID file
|
|
exec rm -f "$socket" "${socket}.pid"
|