unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Bone Baboon <bone.baboon@disroot.org>
To: Julien Lepiller <julien@lepiller.eu>
Cc: help-guix@gnu.org
Subject: Re: How to create a service for contents of arbitrary file
Date: Wed, 14 Apr 2021 19:22:07 -0400	[thread overview]
Message-ID: <8735vsmoyo.fsf@disroot.org> (raw)
In-Reply-To: <0FD89D97-0160-48F8-A167-411300F1631E@lepiller.eu>


Julien Lepiller writes:

> No, Shepherd doesn't have a notion of stages. You can make it run a command at startup by using a normal service though. I use one on my server to set up static networking with ipv4 and ipv6 by running iproute. See https://git.lepiller.eu/system-configuration/tree/-/modules/config/network.scm

Thank you for sharing this example.

> Maybe there's another kernel argument you could use?

I have searched for one but have not found it yet.


      reply	other threads:[~2021-04-14 23:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07  4:11 How to create a service for contents of arbitrary file Bone Baboon
2021-04-07 11:12 ` Julien Lepiller
2021-04-07 14:12   ` Gary Johnson
2021-04-08 23:26     ` Bone Baboon
2021-04-08 23:46   ` Bone Baboon
2021-04-09  0:06     ` Julien Lepiller
2021-04-10  4:18       ` Bone Baboon
2021-04-10 10:50         ` Julien Lepiller
2021-04-14 23:22           ` Bone Baboon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735vsmoyo.fsf@disroot.org \
    --to=bone.baboon@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).