Skip to content

Commit

Permalink
docs: update systemd unit file (#23)
Browse files Browse the repository at this point in the history
LimitNPROC -> TasksMax

LimitNPROC is a per-user limit, meaning the moment www-data went over 512 processes, and another process was added by the unit, it would crash.
  • Loading branch information
hugeblank authored Dec 12, 2023
1 parent e5e29e8 commit 51fe92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/init/linux-systemd/casket.service
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ TimeoutStopSec=5s
; Limit the number of file descriptors; see `man systemd.exec` for more limit settings.
LimitNOFILE=1048576
; Unmodified casket is not expected to use more than that.
LimitNPROC=512
TasksMax=512

; Use private /tmp and /var/tmp, which are discarded after casket stops.
PrivateTmp=true
Expand Down

0 comments on commit 51fe92f

Please sign in to comment.