* Tue Feb 25 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme
- move to full systemd unit [SME: 12877]
This commit is contained in:
parent
537dbcf295
commit
686f285e94
1
root/var/service/tinydns/env/ROOT
vendored
1
root/var/service/tinydns/env/ROOT
vendored
@ -1 +0,0 @@
|
||||
/var/service/tinydns/root
|
@ -1,27 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# copyright (C) 1999-2003 Mitel Networks Corporation
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
# Technical support for this program is available from Mitel Networks
|
||||
# Please visit our web site www.mitel.com/sme/ for details.
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
exec \
|
||||
/usr/bin/setuidgid dnslog \
|
||||
/usr/bin/multilog t s5000000 \
|
||||
/var/log/tinydns
|
@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
exec 2>&1
|
||||
./control/1
|
||||
exec envdir ./env sh -c '
|
||||
exec envuidgid dns \
|
||||
softlimit -d "$DATALIMIT" \
|
||||
/usr/local/bin/tinydns
|
||||
'
|
@ -447,7 +447,9 @@ if [ $1 -gt 1 ] ; then
|
||||
if [ -e /var/service/tinydns/run ] ; then
|
||||
/usr/bin/sv d tinydns
|
||||
/usr/bin/sv d tinydns/log
|
||||
fi
|
||||
fi
|
||||
|
||||
/sbin/e-smith/create-system-user dns 53 "Name server" /var/service/tinydns /bin/false
|
||||
/sbin/e-smith/create-system-user dnslog 411 "DNS log user" /var/log /bin/false
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user