Interview practice question
Turning a script into a managed service
Cloud & DevOps · Linux and Scripting · Intermediate
An application is started manually with nohup on a server and dies occasionally. How would you make it a proper service?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Write systemd unit file.
- User, WorkingDirectory, ExecStart, Environment.
- Restart=on-failure.
- Enable at boot.
- Logs via journald.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.