# Writing a deamon on Linux

**URL:** <https://techcommunity.softwareag.com/t/writing-a-deamon-on-linux/179550>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Remote-Procedure-Call-RPC\
**Created:** [November 29, 2014, 9:22am UTC](https://techcommunity.softwareag.com/t/writing-a-deamon-on-linux/179550 "2014-11-29T09:22:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hezi](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hezi](https://techcommunity.softwareag.com/u/Hezi)\
**Post date:** [November 29, 2014, 9:22am UTC](https://techcommunity.softwareag.com/t/writing-a-deamon-on-linux/179550/1 "2014-11-29T09:22:54Z")

</div>

Hi,

I have a UC4 Agent on my natural linux server.  
I need to submit a natural proccess using that agent,  
with a dependancy by calling a natural program that will give ok respond to submit.  
So, I undersatnd that I need to write a deamon that will perform it.  
How, do I need to write it (probably in C), what are the parms for connecting Natural using that deamon?

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [December 2, 2014, 9:15am UTC](https://techcommunity.softwareag.com/t/writing-a-deamon-on-linux/179550/2 "2014-12-02T09:15:49Z")

</div>

You start a natural process from a shell script, so that (shell script) is what you “submit”,  
and I guess UC4 has some readily available interface programs you can trigger from  
the shell script to signal status to UC4 ?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:32pm UTC](https://techcommunity.softwareag.com/t/writing-a-deamon-on-linux/179550/3 "2021-04-02T15:32:29Z")

</div>


