Re: Back to systemd [was: Re: New list for Raspbian? (was: Re: systemdq)]
- To: debian-user@lists.debian.org
- Subject: Re: Back to systemd [was: Re: New list for Raspbian? (was: Re: systemdq)]
- From: Andrei POPESCU <andreimpopescu@gmail.com>
- Date: Wed, 1 Jan 2020 11:16:12 +0200
- Message-id: <[🔎] 20200101091612.ch3f5mliyaeikdh4@localhost>
- In-reply-to: <4f2788f5-60a6-d72d-7c45-f096aa818e86@slsware.net>
- References: <201912301013.50581.rhkramer@gmail.com> <20191230154042.Horde.g0hc-Il37N8jK62JRBjD0hL@mail.kalinowski.com.br> <201912301240.14500.rhkramer@gmail.com> <5303e3b5-30a5-a74f-d4a2-8e3227f2f266@slsware.net> <20191230200813.GP851@eeg.ccf.org> <ef9f88d3-7ae0-239a-7fc2-33486a00e60f@slsware.net> <20191230225446.zqkazoisfplakuoj@localhost> <8d7e9196-ae00-6ba1-dc59-f9f6826dbb62@slsware.net> <1fvgqge1so7av8@mids.svenhartge.de> <4f2788f5-60a6-d72d-7c45-f096aa818e86@slsware.net>
On Ma, 31 dec 19, 12:22:59, ghe wrote:
> Sven and Andrei, I told you lies. The script's not a daemon. I added
> Sven's suggested lines to the .service file, re-enabled it, rebooted,
> and it came up exactly as I wanted it to.
>
> Apparently what it does is build an iptables firewall, and quit. Then
> when I ask for things, it comes up, crudely parses my command, and runs
> iptables commands to do what I ask.
Just for (your) reference, systemd.service(5) has an example that
matches your needs (Example 3. Stoppable oneshot service).
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Attachment:
signature.asc
Description: PGP signature
Reply to: