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 via email to