Skip to content

Commit

Permalink
Merge pull request #584 from abrahamduran/patch-1
Browse files Browse the repository at this point in the history
Fix assignation of ports below 1024
  • Loading branch information
oznu committed Mar 8, 2020
2 parents 47618e5 + b68a200 commit a9e8779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/platforms/linux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,12 @@ export class LinuxInstaller {
`RestartSec=3`,
`KillMode=process`,
`CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_CHOWN CAP_FOWNER CAP_DAC_OVERRIDE CAP_AUDIT_WRITE CAP_SYS_ADMIN`,
`AmbientCapabilities=CAP_NET_RAW`,
`AmbientCapabilities=CAP_NET_RAW CAP_NET_BIND_SERVICE`,
'',
`[Install]`,
`WantedBy=multi-user.target`,
].filter(x => x !== null).join('\n');

await fs.writeFile(this.systemdServicePath, serviceFile);
}
}
}

0 comments on commit a9e8779

Please sign in to comment.