on xenial help sign in
dont set path. unset in post
fbf39abNick Dedekind
data/unity8.conf+2−4
@@ -44,10 +44,7 @@ pre-start script
44 rm "$MIR_SERVER_FILE"
44 rm "$MIR_SERVER_FILE"
45 fi
45 fi
46
46
47− if [ -n "$MIR_SERVER_PROMPT_FILE" ]; then
48− MIR_SERVER_PROMPT_FILE=$XDG_RUNTIME_DIR/mir_socket_trusted
49− initctl set-env --global MIR_SERVER_PROMPT_FILE=$MIR_SERVER_PROMPT_FILE
47+ initctl set-env --global MIR_SERVER_PROMPT_FILE=ENABLED
50− fi
51
48
52 initctl emit scope-ui-starting
49 initctl emit scope-ui-starting
53 initctl emit --no-wait indicator-services-start
50 initctl emit --no-wait indicator-services-start
@@ -58,4 +55,5 @@ exec ${BINARY:-unity8} $ARGS
58post-stop script
55post-stop script
59 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
56 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
60 initctl unset-env --global UNITY_MIR_SOCKET
57 initctl unset-env --global UNITY_MIR_SOCKET
58+ initctl unset-env --global MIR_SERVER_PROMPT_FILE
61end script
59end script