mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-22 09:49:20 -07:00
CAP_NET_BIND_SERVICE is not required, as the default ports are 8000 and 3012
@@ -46,8 +46,6 @@ ProtectSystem=strict
|
|||||||
# Only allow writes to the following directory and set it to the working directory (user and password data are stored here)
|
# Only allow writes to the following directory and set it to the working directory (user and password data are stored here)
|
||||||
WorkingDirectory=/var/lib/vaultwarden
|
WorkingDirectory=/var/lib/vaultwarden
|
||||||
ReadWriteDirectories=/var/lib/vaultwarden
|
ReadWriteDirectories=/var/lib/vaultwarden
|
||||||
# Allow vaultwarden to bind ports in the range of 0-1024
|
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user