Restart Inetd
SigHupInetd.pkt is an example stand-alone Pikt script to restart inetd. This is the script version customized for Linux and sourcing from the sighup_inetd_programs.cfg file.
#!/pikt/bin/pikt
init
input proc "/bin/ps -xc | /usr/bin/grep inetd | /usr/bin/grep -v grep"
dat $inetdpid 1
dat $inetdproc $
rule
exec "/bin/kill -HUP $inetdpid"
For more examples, see Samples.