4 ms·
I post a gist for you. This is filtered through our maven build where variables are substituted, so you'll see a bunch of placeholders that get replaced during
by exabrial 4y ago
I post a gist for you. This is filtered through our maven build where variables are substituted, so you'll see a bunch of placeholders that get replaced during compilation: https://gist.github.com/exabrial/fbda5ebceb94ae2397aac16f586e70fd https://gist.github.com/exabrial/fbda5ebceb94ae2397aac16f586...
This particular template we're not really worried about mem/cpu limits so that isn't in there. Authbind is in there to allow it to grab lower ports, but this particular app does not.
I would recommend reading these as well:
* https://gist.github.com/ageis/f5595e59b1cddb1513d1b425a323db04 https://gist.github.com/ageis/f5595e59b1cddb1513d1b425a323db...
* https://www.opensourcerers.org/2022/04/25/optimizing-a-systemd-service-for-security/ https://www.opensourcerers.org/2022/04/25/optimizing-a-syste...
- magicalhippo 4y agoThanks, that's really helpful.