More Systemd-ness: Unit File

Home » CentOS » More Systemd-ness: Unit File
CentOS 2 Comments

Ok, I did read www.freedesktop.org/software/systemd/man/systemd.unit.html and am still confused. What is it? If it helps, let’ suse a real application:
I create in /etc/systemd/system/ the home-ducker.{,auto}mount files. Where does this unit file go with respect to them? Is it one of them?

2 thoughts on - More Systemd-ness: Unit File

  • Both of them are unit files. Quote:

    A unit configuration file encodes information about […] a mount
    point [or] an automount point […].

  • Think of it as object inheritance …

    All systemd ‘objects’ are units and have the general unit file stanza and syntax in them:

    [Unit]
    Description=blurb goes here Documentation=man page name here Requires