1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-06-02 10:18:44 +02:00
init/cmd/runsvc
David Oberhollenzer 056d3c8e64 Add output truncation flag
This commit adds a "truncate" flag that can be added to a service
description between the "tty" keyword and the path string.

If the flag is set, the output file is truncated to 0 after opening.

This probably requires some remodeling in the future as the tty keyword
no longer deals with just tty devices.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-07-22 17:57:20 +02:00
..
env.c Add helper program for running services 2018-04-22 13:41:18 +02:00
runsvc.c Add output truncation flag 2018-07-22 17:57:20 +02:00
runsvc.h Split configuration parser and utility library 2018-06-09 15:32:29 +02:00