Quantcast
Channel: Modify systemd unit file without altering upstream unit file - Server Fault
Browsing all 4 articles
Browse latest View live

Answer by riemann for Modify systemd unit file without altering upstream unit...

Consider using a script to read the upstream configuration, modify it, and spit it out to drop-in file.For example, I use Chef and here's a piece of ruby (library) that parses marathon systemd unit...

View Article



Answer by HBruijn for Modify systemd unit file without altering upstream unit...

You have two options: Copy the unit file from /lib/systemd/system/ to /etc/systemd/system/.And then make your modifications in /etc/systemd/system/pimd.service to completely override the unit file(s)...

View Article

Answer by Henrik Pingel for Modify systemd unit file without altering...

The RHEL documentation recommends two ways:Extend the default unit file by creating a configuration directory and file under /etc/systemd/system/[name-goes-here].service.d/config_name.confIn this case...

View Article

Modify systemd unit file without altering upstream unit file

I have installed the pimd service by means of apt. This comes with an upstream systemd unit file (/lib/systemd/system/pimd.service).I want the service to be restarted when for some reason it gets...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images