SMS: Add a switch to use_kannel (or not)

If we don't use kannel, then create the runit link in /etc/service
to run the python esme.
This commit is contained in:
Wile E. Coyote 2018-11-15 15:31:40 +00:00
parent 44fff5a761
commit 7d506eb4be
7 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
LOG_FOLDER=/var/log/esme
mkdir -p $LOG_FOLDER
exec svlogd -tt $LOG_FOLDER