BadVPN – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | include "onoff_server.ncdi" |
2 | |||
3 | process main { |
||
4 | call("onoff_server_main", {"/home/ambro/onoff.socket"}) onoff_server; |
||
5 | |||
6 | process_manager() mgr; |
||
7 | mgr->start("service1", {}); |
||
8 | #mgr->start("service2", {}); |
||
9 | } |
||
10 | |||
11 | template service1 { |
||
12 | alias("_caller") main; |
||
13 | |||
14 | call("onoff_server_onoff", {"_caller.main.onoff_server", "ServiceId1", "true"}); |
||
15 | |||
16 | println("service1 up"); |
||
17 | rprintln("service1 down"); |
||
18 | |||
19 | # Do your stuff. |
||
20 | } |