Make ntfy run as ntfy user/group, closes #38
This commit is contained in:
parent
808b63eaa1
commit
9a56c24dbe
6 changed files with 28 additions and 3 deletions
|
@ -3,8 +3,11 @@ Description=ntfy server
|
|||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=ntfy
|
||||
Group=ntfy
|
||||
ExecStart=/usr/bin/ntfy
|
||||
Restart=on-failure
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
LimitNOFILE=10000
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue