Bug 65137 - DOC: Provide examples for unit files in man pages
Summary: DOC: Provide examples for unit files in man pages
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-29 19:10 UTC by Andreas Kloeckner
Modified: 2018-07-18 14:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andreas Kloeckner 2013-05-29 19:10:12 UTC
Hi there,

I'd find it tremendously helpful if each unit file manpage had a few examples that you can just copy and paste, plus the relevant caveats right by it. (e.g. "this unit file should be name XXXX.service")

Thanks,
Andreas
Comment 1 Zbigniew Jedrzejewski-Szmek 2013-05-31 01:03:20 UTC
(In reply to comment #0)
> I'd find it tremendously helpful if each unit file manpage had a few
> examples that you can just copy and paste, plus the relevant caveats right
> by it. (e.g. "this unit file should be name XXXX.service")
It would certainly be nice to have some more examples, especially
in systemd.service(5). We are always delighted to receive patches :)

Zbyszek
Comment 2 Lennart Poettering 2018-07-18 14:39:26 UTC
Current systemd.service(5) actually has examples like this. Closing.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.