want to write a systemd service file where a user may not exist.
peter at bsqt.homeip.net
Sat Feb 11 12:49:34 UTC 2017
On Sat, Feb 11, 2017 at 7:31 AM, Ralf Mardorf <silver.bullet at zoho.com>
> On Sat, 11 Feb 2017 12:07:13 +0000, Colin Law wrote:
> >If you run
> >sudo system enable|disable sarra
> >then you should see it adding or removing the links.
> systemctl ;)
> However, if we install a package with a systemd unit, it automatically
> gets enable. You could test it, e.g. install smartmontools. A user who
> just want to get "smartctl" needs to manually disable the daemon. The
> Ubuntu policy is very bad, it's better to be aware of it, to avoid
> serious issues.
-- any idea how to tell systemd and/or ubuntu that this service should be
disabled by default?
-- Any idea how to configure a systemd service such that if user X doesn't
exist, it does not try to start the service?
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users