Specify service user and group.
Section: Environment, Users, Dependencies
Run service as non-root user
ini
ini
[Service]
User=myapp
Group=myappExplanation
Preferred for least privilege.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Environment, Users, Dependencies