shh-servic...art-profile(1)
π shh-service-start-profile(1) π
okay bestie, buckle up β this is the shh-service-start-profile page from the General Commands Manual, and it's literally about adding fragment config to a service so you can profile how it behaves. yes, that's the whole vibe. let's get into it π
β¨ NAME β¨
shh-service-start-profile β add fragment config to a service to profile its behavior π«Ά
πΈ SYNOPSIS πΈ
shh service start-profile [-i|--instance] [-m|--mode]
[-f|--network-firewalling] [-w|--filesystem-whitelisting]
[--merge-paths-threshold] [--systemd-options] [-n|--no-restart]
[-r|--refresh] [-h|--help] <NAME>
like, that's the shape of it. flags first, then the <NAME> at the end, bestie. no cap.
π DESCRIPTION π
Add fragment config to service to profile its behavior β¨
that's it. that's the description. she's short and she knows it. π
π OPTIONS π
-i,--instance<INSTANCE> [default:system] β the systemd instance of the service. also acceptsuserfor per-user instances of the service manager. possible values:system,user. so basically: are we doing the system-wide thing or the lil per-user thing? π§-m,--mode<MODE> [default:standard] β how hard we should harden π₯ possible values are:genericβ try to generate hardening options that are more likely to be portable across different systems for this service. WARNING: this is a best effort attempt, and NOT a guarantee. the only way to ensure the options will work is to run profiling on the same exact system. so likeβ¦ it's giving hopeful, not promised. πstandardβ only generate hardening options if they have a negligible risk of breaking things. the safe lil default, we love her. πaggressiveβ will harden further and prevent circumventing restrictions of some options, but may increase the risk of breaking services. it is highly recommended to manually review the generated options. main character energy but she bites. π
-f,--network-firewallingβ enable advanced network firewalling. only use this if you know that the network addresses and ports of local system and remote peers will not change. iykyk. π₯-w,--filesystem-whitelistingβ enable whitelist-based filesystem hardening. only use this if you know that the paths accessed by the service will not change. π¦--merge-paths-threshold<MERGE_PATHS_THRESHOLD> [default:5] β when using whitelist-based filesystem hardening, if the path whitelist is longer than this value, try to merge paths with the same parent. lowkey a tidy-up vibe. β¨--systemd-options<SYSTEMD_OPTIONS>... β disable all systemd options except these (case sensitive). other options may be generated when mutating these options to make them compatible with profiling data. for testing only. π-n,--no-restartβ disable immediate service restart. π-r,--refreshβ disable previous hardening fragment, if it exists. π§Ή-h,--helpβ print help (see a summary with-h). iconic of her honestly. π- <NAME> β service unit name. the star of the show, the one you actually have to give. β
ok bestie real talk β thegenericmode is best effort and NOT a guarantee, andaggressivemay increase the risk of breaking services, and you should highly consider manually reviewing what it generates. and--systemd-optionsis for testing only. don't come for me if you skip the warnings, i warned you like three times. π
π¦ SEE ALSO π¦
(not gonna lie, this page didn't give us any SEE ALSO refs β she's mysterious like that. π)
sign-off time, bestie: this lil beauty comes from start-profile, lives in the shh-servic...art-profile(1) corner of the General Commands Manual, and that footer showed up on both sides of the page, so you know it's fr fr. π go forth and profile responsibly, queen. πβ¨π
π¦ where this page comes from
- nixos 26.05: shh 2026.3.8
- nixpkgs unstable: shh 2026.3.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms