[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd service and /etc/default/



On Sun, 17 Aug 2014 13:14:27 +0100, Simon McVittie <smcv@debian.org>
>if ! [ -e /etc/foo.conf ]
>then
>    echo -n "(not starting, you need to create /etc/foo.conf)"
>    return 0
>fi

if ! grep '^important-option' foo.conf;

looks like a rather common idiom.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834


Reply to: