@@ -44,10 +44,7 @@ pre-start script
4444 rm "$MIR_SERVER_FILE"
4545 fi
4646
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
50− fi
47+ initctl set-env --global MIR_SERVER_PROMPT_FILE=ENABLED
5148
5249 initctl emit scope-ui-starting
5350 initctl emit --no-wait indicator-services-start
@@ -58,4 +55,5 @@ exec ${BINARY:-unity8} $ARGS
5855post-stop script
5956 initctl set-env --global MIR_SOCKET=$UNITY_MIR_SOCKET
6057 initctl unset-env --global UNITY_MIR_SOCKET
58+ initctl unset-env --global MIR_SERVER_PROMPT_FILE
6159end script