bugfix resourcemanager sysv script