https://bugs.contribs.org/show_bug.cgi?id=10494

--- Comment #82 from Jason Smith <[email protected]> ---
(In reply to John Crisp from comment #78)

Ok I am assuming I am to create files with the names run and log in the
directories you have indicated.


> Create 
> 
> /var/service/run
> 
> #!/bin/sh
> cd /opt/teamspeak
> export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
> exec setuidgid teamspeak ./ts3server $@
> 
> Then set the permission:
> 
> chmod 0755 /var/service/run
> 



The above works fine, but when I try to do so for the below it tells me it
can't create a file since there is already a directory with that name. Am I
doing something wrong here?



> Create:
> 
> /var/service/teamspeak/log
> 
> #!/bin/sh
> NUM=$(/sbin/e-smith/db configuration getprop teamspeak KeepLogFiles)
> 
> exec                                  \
>     /usr/local/bin/setuidgid teamspeak        \
>     /usr/local/bin/multilog t s5000000        \
>     n${NUM:-10}                       \
>     /var/log/teamspeak
> 
> Then set the permission:
> 
> chmod 0755 /var/service/log/run
>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to