mirror of
https://github.com/nickrunning/wechat-selkies.git
synced 2026-05-09 00:24:09 +00:00
fix: clean up stale dbus pid file on startup (#81)
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# clean up stale dbus pid file to prevent startup failures after container restart
|
||||||
|
rm -f /run/dbus/pid
|
||||||
|
|
||||||
# configure openbox dock mode for stalonetray
|
# configure openbox dock mode for stalonetray
|
||||||
if [ ! -f /config/.config/openbox/rc.xml ] || grep -A20 "<dock>" /config/.config/openbox/rc.xml | grep -q "<noStrut>no</noStrut>"; then
|
if [ ! -f /config/.config/openbox/rc.xml ] || grep -A20 "<dock>" /config/.config/openbox/rc.xml | grep -q "<noStrut>no</noStrut>"; then
|
||||||
mkdir -p /config/.config/openbox
|
mkdir -p /config/.config/openbox
|
||||||
|
|||||||
Reference in New Issue
Block a user