source: packages/net/netatalk/files/afpd.init @ 20539

Last change on this file since 20539 was 20539, checked in by florian, 6 years ago

[package] add uams libraries, configuration file and init script (#6965)

File size: 304 bytes
Line 
1#!/bin/sh /etc/rc.common
2
3START=70
4
5MAXCONS="7"
6CONFIGFILE="/etc/netatalk/afpd.conf"
7PIDFILE="/var/run/afpd.pid"
8
9start()
10{
11        /usr/bin/cnid_metad
12        /usr/bin/afpd -F ${CONFIGFILE} -P ${PIDFILE} -c ${MAXCONS}
13}
14
15stop()
16{
17        killall afpd
18        killall cnid_metad
19}
20
21reload()
22{
23        kill -s HUP `cat ${PIDFILE}`
24        start
25}
Note: See TracBrowser for help on using the repository browser.