BastilleBSD :freebsd: on Nostr: Manpage Monday: bastille sysrc Safely edit rc.conf inside a jail from the host. ...
Manpage Monday: bastille sysrc
Safely edit rc.conf inside a jail from the host.
Enable nginx in a jail
> bastille sysrc myjail nginx_enable=YES
Disable caddy
> bastille sysrc myjail caddy_enable=NO
Add -a and it'll start a stopped jail, apply the change, then carry on.
See `man bastille-sysrc` for more details.
#Bastille #FreeBSD #sysadmin #ManpageMonday
Published at
2026-11-16 15:00:15 UTCEvent JSON
{
"id": "f7f1fbadffccbc704a9d8aba5d6b04bbeb8b798bfa8bd86b14d1e92fcc3dc12b",
"pubkey": "b28d27e6667dc9b1363fc54dad25a26af21e2c20d688521977d04e7257e4d2e9",
"created_at": 1794841215,
"kind": 1,
"tags": [
[
"t",
"sysadmin"
],
[
"t",
"bastille"
],
[
"t",
"freebsd"
],
[
"t",
"manpagemonday"
],
[
"proxy",
"https://fosstodon.org/@BastilleBSD/117626713904882507",
"web"
],
[
"proxy",
"https://fosstodon.org/users/BastilleBSD/statuses/117626713904882507",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/BastilleBSD/statuses/117626713904882507",
"pink.momostr"
],
[
"-"
]
],
"content": "Manpage Monday: bastille sysrc\n\nSafely edit rc.conf inside a jail from the host.\n\nEnable nginx in a jail\n\u003e bastille sysrc myjail nginx_enable=YES\n\nDisable caddy\n\u003e bastille sysrc myjail caddy_enable=NO\n\nAdd -a and it'll start a stopped jail, apply the change, then carry on.\n\nSee `man bastille-sysrc` for more details.\n\n#Bastille #FreeBSD #sysadmin #ManpageMonday",
"sig": "cfa98d227f71e3739bcd3e794b633fa606eeecf8d83210bcb19eb064dcb91311018966a7f68b9079a1aa50b790b10f2013a72a04dba71fc579f30df136aeb764"
}