mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
pigpio service renamed to pigpiod
This commit is contained in:
parent
fe77479465
commit
3e26c9b3b2
@ -922,11 +922,11 @@ do_gpiosec() {
|
||||
if [ $? -eq 0 ]; then
|
||||
case "$RET" in
|
||||
Private)
|
||||
rm -f /etc/systemd/system/pigpio.service.d/public.conf
|
||||
rm -f /etc/systemd/system/pigpiod.service.d/public.conf
|
||||
;;
|
||||
Public)
|
||||
mkdir -p /etc/systemd/system/pigpio.service.d/
|
||||
cat > /etc/systemd/system/pigpio.service.d/public.conf << EOF
|
||||
mkdir -p /etc/systemd/system/pigpiod.service.d/
|
||||
cat > /etc/systemd/system/pigpiod.service.d/public.conf << EOF
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/pigpiod
|
||||
@ -938,7 +938,7 @@ EOF
|
||||
;;
|
||||
esac
|
||||
systemctl daemon-reload
|
||||
systemctl restart pigpio
|
||||
systemctl restart pigpiod
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user