Alin Năstac
|
961dc692af
procd: stop service using SIGKILL if SIGTERM failed to do so
|
7 anni fa |
Jo-Philipp Wich
|
f800ecf860
service: add reload_signal property
|
7 anni fa |
Rosen Penev
|
4004b68fe5
procd: Fix memory leaks found by cppcheck
|
7 anni fa |
Felix Fietkau
|
d80aaf4dc5
service: do not restart instances if data changes
|
7 anni fa |
Felix Fietkau
|
29d2adb14b
service: make instance_update() void and unconditionally replace config on update
|
7 anni fa |
Felix Fietkau
|
755117ebf5
service: add support for instances without command
|
7 anni fa |
Zefir Kurtisi
|
98dc891492
procd: fire events at instance respawn and failure
|
7 anni fa |
Jurgen Van Ham
|
d5e89ee3d1
procd: remove instance_removepid call from instance_stop
|
8 anni fa |
Jurgen Van Ham
|
64970552b4
procd: remove pidfile after unexpected termination without respawn
|
8 anni fa |
Karl Palsson
|
b12bb150ed
procd: service: Support writing pidfiles
|
8 anni fa |
Felix Fietkau
|
663aba340d
add ifdefs to make service/instance.c compile on non-linux systems
|
8 anni fa |
Etienne CHAMPETIER
|
8490bb31a8
instance, ujail: wire hostname (-h) option
|
8 anni fa |
John Crispin
|
dfd5816bcb
instance, ujail: wire no_new_privs (-c) option
|
8 anni fa |
Etienne CHAMPETIER
|
81e1ace59e
instance, ujail: wire remount / read only option (-o)
|
8 anni fa |
Etienne CHAMPETIER
|
fda5f9c30b
instance, ujail: remove "-P <path>" option
|
8 anni fa |
Rafał Miłecki
|
6f841e89df
service: if logging start app with LD_PRELOAD & lib for line buffering
|
9 anni fa |
Felix Fietkau
|
09a48623fa
service: reorder function to avoid forward declaration
|
9 anni fa |
Yousong Zhou
|
46954a5192
service: close instance pipe fd on restart.
|
9 anni fa |
Yousong Zhou
|
ec983756ce
service: dump respawn params in the same order as when passed in.
|
9 anni fa |
Yousong Zhou
|
7df968175f
service: optimize relaying stdio output of daemons a bit.
|
9 anni fa |
Jo-Philipp Wich
|
a6afa72f19
instance: handle setgid() before setuid()
|
9 anni fa |
Felix Fietkau
|
312d0fc22d
instance: avoid dumping invalid service instances - prevents a potential crash
|
9 anni fa |
John Crispin
|
91da63d3d3
properly handle return codes
|
9 anni fa |
John Crispin
|
29f139217c
procd can now start jailed processes
|
9 anni fa |
Felix Fietkau
|
b6777a45be
service: rename variables / struct members called stdout, stderr to avoid conflicts with system defines
|
9 anni fa |
Jo-Philipp Wich
|
cc62595d30
service: don't use stdio log channel
|
9 anni fa |
Jo-Philipp Wich
|
9851e517f1
procd: support relayoing daemon stdout/stderr to syslog
|
9 anni fa |
John Crispin
|
4bd633868e
instances can now start as a !root user
|
9 anni fa |
John Crispin
|
6a6fa0a606
add .data to instance_dump()
|
9 anni fa |
Felix Fietkau
|
619ec82ece
service: fix trigger related double-free
|
10 anni fa |