On 07/30/2013 09:14 PM, Vivek Goyal wrote:
> On Wed, Jul 31, 2013 at 12:46:22AM +0800, WANG Chao wrote:
>> On 07/31/13 at 12:32am, WANG Chao wrote:
>>> On 07/30/13 at 03:46pm, Zbigniew Jędrzejewski-Szmek wrote:
On Tue, Jul 30, 2013 at 09:43:16AM -0400, Vivek Goyal wrote:
> [CC harald]
I am trying to learn systemD. I scaned through some of the man pages. I am
here asking if systemD unit file synthesis can be made to support macros;
for example of the following type:-
#--
IF mountpoint exists
/bin/mount /dev/something $mountpoint
ELSE
/bin/mount /dev
Hi,
On Wed, Jul 31, 2013 at 2:14 PM, lux-integ wrote:
>
> I am trying to learn systemD. I scaned through some of the man pages. I am
> here asking if systemD unit file synthesis can be made to support macros;
> for example of the following type:-
>
> #--
> IF mountpoint exists
>
On Wednesday 31 July 2013 13:26:18 Tom Gundersen wrote:
> If you really need a proper programming
> language, then you'd be better off using a script and pointing
> ExecStart to that.
example please?
___
systemd-devel mailing list
systemd-devel@lists.fr
On Wed, Jul 31, 2013 at 3:05 PM, lux-integ wrote:
> On Wednesday 31 July 2013 13:26:18 Tom Gundersen wrote:
>> If you really need a proper programming
>> language, then you'd be better off using a script and pointing
>> ExecStart to that.
>
> example please?
Make a bash script (or whatever else)
On Wed, Jul 31, 2013 at 01:14:08PM +0100, lux-integ wrote:
>
> I am trying to learn systemD. I scaned through some of the man pages. I am
> here asking if systemD unit file synthesis can be made to support macros;
>
> for example of the following type:-
>
> #--
> IF mo
'Twas brillig, and Harald Hoyer at 31/07/13 11:19 did gyre and gimble:
> On 07/30/2013 09:14 PM, Vivek Goyal wrote:
>> On Wed, Jul 31, 2013 at 12:46:22AM +0800, WANG Chao wrote:
>>> On 07/31/13 at 12:32am, WANG Chao wrote:
On 07/30/13 at 03:46pm, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue
'Twas brillig, and lux-integ at 31/07/13 13:14 did gyre and gimble:
>
> I am trying to learn systemD. I scaned through some of the man pages.
The first thing to learn is that's it's systemd, not systemD ;)
> I am
> here asking if systemD unit file synthesis can be made to support macros;
On Wed, Jul 31, 2013 at 12:19:06PM +0200, Harald Hoyer wrote:
> On 07/30/2013 09:14 PM, Vivek Goyal wrote:
> > On Wed, Jul 31, 2013 at 12:46:22AM +0800, WANG Chao wrote:
> >> On 07/31/13 at 12:32am, WANG Chao wrote:
> >>> On 07/30/13 at 03:46pm, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue, Jul
On Wed, Jul 31, 2013 at 09:44:01AM -0400, Vivek Goyal wrote:
> On Wed, Jul 31, 2013 at 12:19:06PM +0200, Harald Hoyer wrote:
> > On 07/30/2013 09:14 PM, Vivek Goyal wrote:
> > > On Wed, Jul 31, 2013 at 12:46:22AM +0800, WANG Chao wrote:
> > >> On 07/31/13 at 12:32am, WANG Chao wrote:
> > >>> On 07/
On Wednesday 31 July 2013 14:13:56 Tom Gundersen wrote:
> > example please?
>
> Make a bash script (or whatever else) doing what you want (the
> pseudo-code you posted). Save it as /usr/local/bin/foo and create a
> unit file with ExecStart=/usr/local/bin/foo.
thanks for your suggestion.
just one
On Wed, Jul 31, 2013 at 4:03 PM, lux-integ wrote:
> #--
> IF mountpoint exists
> /bin/echo "obladee"
> /bin/mount /dev/something $mountpoint
> ELSE
> /bin/echo "obladaa"
> /bin/mount /dev/something somewherelse
> ENDiF
> #--
>
> does this file need to be s
On Wednesday 31 July 2013 14:22:35 Michal Vyskocil wrote:
> You can split the logic into two mount units with opposite Condition
>
> #mountpoint.mount
> [Unit]
> Description=mount mountpoint
> ConditionPathIsMountPoint=/mountpoint
>
> [Mount]
> What=/dev/something
> Where=/mountpoint
>
> #somewh
On Tue, Jul 30, 2013 at 11:22:48PM -0500, William Giokas wrote:
> ---
> Makefile.am | 1 +
> shell-completion/zsh/_systemd| 26 +-
> shell-completion/zsh/_systemd-nspawn | 24
> 3 files changed, 26 insertions(+), 25
Also fix the random lack of completion
---
I think that it has something to do with the function being called the same
thing as the command. I don't know, but renaming it to something that is
actually more descriptive makes it work.
Makefile.am | 1 +
shell-completion/z
On Wed, Jul 31, 2013 at 2:14 PM, lux-integ wrote:
>
> I am trying to learn systemD. I scaned through some of the man pages. I am
> here asking if systemD unit file synthesis can be made to support macros;
> for example of the following type:-
>
> #--
> IF mountpoint exists
> /bin
On 07/30/13 at 04:40pm, Tom Gundersen wrote:
> On Tue, Jul 30, 2013 at 4:13 PM, Harald Hoyer wrote:
> > On 07/30/2013 03:46 PM, Zbigniew Jędrzejewski-Szmek wrote:
> >> Maybe rootfsflags=nofail could do be used as this flag?
> >
> > rootfsflags=nofail sounds ok, if it is not used for booting the in
Greetings,
I am trying to learn to use systemd.
I scanned through some of the online manpages and looked at some example unit
files. I keep seeing
[Install]
WantedBy=multi-user.target
or
[Install]
WantedBy=sysinit.target
or some such
I have for example a need to mount stuff (via a mount
18 matches
Mail list logo