WIP Install / Start / Stop
This commit is contained in:
parent
0b5960f61e
commit
d4d15effd5
|
|
@ -6,7 +6,7 @@ use_systemd() {
|
||||||
# Check if systemd user mode is available and service exists
|
# Check if systemd user mode is available and service exists
|
||||||
if systemctl --user status >/dev/null 2>&1; then
|
if systemctl --user status >/dev/null 2>&1; then
|
||||||
# Check if our service file exists
|
# Check if our service file exists
|
||||||
if systemctl --user list-unit-files | grep -q "^sdl-wkr.service"; then
|
if systemctl --user list-unit-files | grep -q "^sdl-mgr.service"; then
|
||||||
return 0 # Use systemd
|
return 0 # Use systemd
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue