mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-02 20:40:38 +00:00
Restrict socket access to root and users in the signal-cli group
This commit is contained in:
parent
f5e5dd551d
commit
d00674221f
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@ Description=Send secure messages to Signal clients
|
|||
|
||||
[Socket]
|
||||
ListenStream=%t/signal-cli/socket
|
||||
SocketUser=root
|
||||
# Add yourself to the signal-cli group to talk with the service
|
||||
# Run 'usermod -aG signal-cli yourusername'
|
||||
SocketGroup=signal-cli
|
||||
SocketMode=0660
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue