Skip to content

Commit

Permalink
Workaround some crashes with systemd unit file (#37)
Browse files Browse the repository at this point in the history
As we don't know all corner cases yet, we just lazy handle a crash with restarts.
  • Loading branch information
awlx authored Mar 31, 2022
1 parent ef48aef commit ab0cd0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unifi_respondd.service.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Type=simple
DynamicUser=yes
WorkingDirectory=/opt/unifi_respondd
ExecStart=/opt/unifi_respondd/respondd.py
Restart=always

CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
Expand Down

0 comments on commit ab0cd0f

Please sign in to comment.