Skip to content

Commit

Permalink
simplify after install script
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyi1 committed Oct 22, 2024
1 parent 224bcc9 commit 87d8b80
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/electron/debian/after_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@

set -eux

readonly PREFIX=/opt/Outline

# Grant specific capabilities so Outline can run without root permisssion
# - cap_net_admin: configure network interfaces, set up routing tables, etc.
# - cap_dac_override: modify network configuration files owned by root
/usr/sbin/setcap cap_net_admin,cap_dac_override+eip ${PREFIX}/Outline
/usr/sbin/setcap cap_net_admin,cap_dac_override+eip /opt/Outline/Outline

0 comments on commit 87d8b80

Please sign in to comment.