oetiker / mrtg

MRTG - Multi Router Traffic Grapher
http://www.mrtg.org
250 stars 62 forks source link

Add new options to systemd conf file #78

Closed eribertomota closed 2 years ago

eribertomota commented 2 years ago
 - Added PIDFile option, as recommended by SYSTEMD.SERVICE(5).
 - Added User option, to automatically populate environment variables like
   USER and HOME. Suggested by Norman Rasmussen in Debian bug #998158.
 - Added RuntimeDirectory option to automatically create /run/mrtg/. This
   option is required while using the User option.

In init file, Ignore case for WorkDir because MRTG also ignores this.