3 ms·
Perhaps the service being managed doesn't clean up after itself properly? It is a fairly common pattern for a program to ship without startup scripts, and then
by Skunkleton 7y ago
Perhaps the service being managed doesn't clean up after itself properly? It is a fairly common pattern for a program to ship without startup scripts, and then have startup scripts added by package maintainers.
- stephenr 7y agoRight that’s certainly a thing but what I meant is, why not just put the cleanup instructions in the unit file.
- Skunkleton 7y agoBecause "cleanup" can be non-trivial. Maintaining scripts inside unit files is a pain in the ass.