mirror of
https://github.com/vikt0rm/dbus-goecharger.git
synced 2025-06-25 01:11:42 +02:00
9 lines
248 B
Bash
9 lines
248 B
Bash
#!/bin/bash
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
SERVICE_NAME=$(basename $SCRIPT_DIR)
|
|
|
|
rm /service/$SERVICE_NAME
|
|
kill $(pgrep -f 'supervise dbus-goecharger')
|
|
chmod a-x $SCRIPT_DIR/service/run
|
|
./restart.sh
|