git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
1be432c
Branches
Tags
master
keks-overlay.git
app-crypt
sks
files
sks.initd
a few improvements
Bernd Wurst
commited
1be432c
at 2010-04-01 10:56:22
sks.initd
Blame
History
Raw
#!/sbin/runscript opts="start stop" depend() { need net use dns } start() { OPTS="" if [ -n "${SKSUSER}" ] ; then OPTS="${OPTS} --chuid ${SKSUSER}" fi if [ -n "${SKSDIR}" ] ; then OPTS="${OPTS} --chdir ${SKSDIR}" fi ebegin "Starting sks keyserver (sks db)" start-stop-daemon --start --background ${OPTS} --exec /usr/bin/sks --pidfile /var/run/sks-db.pid --make-pidfile -- db ebegin "Starting sks keyserver syncer (sks recon)" start-stop-daemon --start ${OPTS} --background --exec /usr/bin/sks --pidfile /var/run/sks-recon.pid --make-pidfile -- recon eend $? } stop() { ebegin "Shutting down sks keyserver" start-stop-daemon --stop --pidfile /var/run/sks-db.pid ebegin "Shutting down sks keyserver syncer" start-stop-daemon --stop --pidfile /var/run/sks-recon.pid eend $? }