[GH-ISSUE #1535] AmneziaVPN service fix for Void Linux (and other runit linuxes) #637

Open
opened 2026-10-14 03:25:41 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cryptexctl on GitHub (Apr 15, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1535

One way to start the AmneziaVPN service

Get under sudo:

sudo -s

Next, make a sh to start and a directory:

mkdir -p /etc/sv/amnezia

nano /etc/sv/amnezia/run

#!/bin/sh

export LD_LIBRARY_PATH=/opt/AmneziaVPN/client/lib

exec chpst -u root /opt/AmneziaVPN/service/AmneziaVPN-service.sh

Make it executable:

chmod +x /etc/sv/AmneziaVPN/run

Then link it:

ln -s /etc/sv/AmneziaVPN /var/service/
Originally created by @cryptexctl on GitHub (Apr 15, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1535 One way to start the AmneziaVPN service Get under sudo: `sudo -s` Next, make a sh to start and a directory: `mkdir -p /etc/sv/amnezia` `nano /etc/sv/amnezia/run` ``` #!/bin/sh export LD_LIBRARY_PATH=/opt/AmneziaVPN/client/lib exec chpst -u root /opt/AmneziaVPN/service/AmneziaVPN-service.sh ``` Make it executable: ``` chmod +x /etc/sv/AmneziaVPN/run ``` Then link it: ``` ln -s /etc/sv/AmneziaVPN /var/service/ ```
Author
Owner

@Swintie commented on GitHub (May 17, 2026):

You should change some directory/service names:

Make it executable:

chmod +x /etc/sv/amnezia/run

Then link it:

ln -s /etc/sv/amnezia /var/service/
<!-- gh-comment-id:4469978765 --> @Swintie commented on GitHub (May 17, 2026): You should change some directory/service names: Make it executable: ``` chmod +x /etc/sv/amnezia/run ``` Then link it: ``` ln -s /etc/sv/amnezia /var/service/ ```
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#637
No description provided.