Displaying 2 results from an estimated 2 matches for "my_cool_service".
2016 Feb 03
2
CentOS 7, NSF, "feature" [SOLVED]
...erfaces on your system (execv()
> and friends) also support this feature, and have since back before 1977, so
> that this, too, is not some fresh new weirdness.
I guess that's probably to execute scripts and "hide" the name of the
interpreter, e.g.:
ExecStart=@/usr/bin/python my_cool_service --my_args
> > I also don't
> > understand why you'd set as an out-of-the-box default that it should fail
> > to come up if it can't resolve any export host, rather than default to
> > coming up.
>
> You do it for the same reason you?d fail when mounting a...
2016 Feb 03
5
CentOS 7, NSF, "feature" [SOLVED]
The issue: NFS fails to start in CentOS 7 if it cannot resolve any of a
list of hosts.
Well, my manager had to google to find the *truly* obscure solution that
uses a deeply oddball syntax.
In /usr/lib/systemd/system/nfs-server.service, you edit the following line
so that it looks like this:
ExecStartPre=-/usr/sbin/exportfs -r
Notice the *deeply* weird syntax of "=-<cmd>". This