ddiss / icyci

Safe and scalable continuous testing, without the bloat
GNU Affero General Public License v3.0
2 stars 1 forks source link

systemd service sandbox #10

Open ddiss opened 8 months ago

ddiss commented 8 months ago

systemd provides a number of service parameters which can be used to restrict icyci (and sub) process' access to filesystem / network / environment. I think it'd be very helpful to have a service file which sets some sensible defaults, preferably annotated with best practices and (permissions error) debugging tips.

https://nickb.dev/blog/writing-a-secure-systemd-service-with-sandboxing-and-dynamic-users/ appears to provide a pretty nice walk-through.