Commit 3591d63
committed
nqptp: copy systemd service and add capability
The binary has its capability to listen on ports removed, and upstream
has already moved to AmbientCapabilities in the systemd service instead
of using setcap. Copying the systemd service allows using the package
with `systemd.packages`.
The patch should be removed after version 1.2.4, along with the other
patch. The patch is taken from [commit 050a8c2][1] in the upstream
repository.
[1]: mikebrady/nqptp@050a8c21 parent 5c8ff2e commit 3591d63
File tree
2 files changed
+19
-1
lines changed- pkgs/tools/networking/nqptp
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments