9 lines
178 B
Bash
9 lines
178 B
Bash
#!/bin/bash
|
|
|
|
if command -v systemctl >/dev/null 2>&1; then
|
|
systemctl daemon-reload || :
|
|
if [ "$1" -ge 1 ]; then
|
|
systemctl try-restart vctp.service || :
|
|
fi
|
|
fi
|