You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then copy this arch linux script to tools/outline_proxy_controller/build/install_arch_service.sh
And run it like $ sudo install_arch_service.sh
#!/bin/bash
set -eux
readonly PREFIX=/usr
readonly SERVICE_DIR=/etc/systemd/system
readonly SERVICE_NAME=outline_proxy_controller.service
readonly GROUP_NAME=outlinevpn
readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
# Create outlinevpn group
groupadd -f "${GROUP_NAME}"
if id "${1}" &>/dev/null; then
usermod -aG "${GROUP_NAME}" "${1}"
echo "user ${1} has been added to ${GROUP_NAME} group"
else
echo "warn: no user will be added to ${GROUP_NAME} group" >&2
fi
# Copy/update the service's files.
cp -f "${SCRIPT_DIR}/OutlineProxyController" "${PREFIX}/bin"
cp -f "${SCRIPT_DIR}/${SERVICE_NAME}" "${SERVICE_DIR}/"
# Replace "--owning-user-id" argument in ".service" file with the actual user
if id "${1}" &>/dev/null; then
owneruid="$(id -u "${1}")"
sed -i "s/--owning-user-id=-1/--owning-user-id=${owneruid}/g" "${SERVICE_DIR}/${SERVICE_NAME}"
fi
# (Re-)start the service.
systemctl daemon-reload
systemctl enable "${SERVICE_NAME}"
systemctl restart "${SERVICE_NAME}"
# Sleep for a couple of seconds before exiting.
sleep 2
I am able to run the outline client and it connects.
The only weirdness seems that I get reconnected all the time.
Will investigate this further when I have time.
the outline-manager and client work as app images without any issues so far.
The text was updated successfully, but these errors were encountered:
Thanks for the contribution! I would be more than happy to review your pull request, if you wanted to link this as a workaround in the linux documentation.
Also, I went ahead and linked your solution to our Arch Linux Support ticket here: #1685.
Then copy this arch linux script to tools/outline_proxy_controller/build/install_arch_service.sh
And run it like $ sudo install_arch_service.sh
I am able to run the outline client and it connects.
The only weirdness seems that I get reconnected all the time.
Will investigate this further when I have time.
the outline-manager and client work as app images without any issues so far.
The text was updated successfully, but these errors were encountered: