Tizen 2.1 base
[platform/core/connectivity/smartcard-service.git] / packaging / smartcard-service-server.init
1 #!/bin/sh
2 ### BEGIN INIT INFO
3 # Provides:          smartcard-service-server
4 # Required-Start:    $network $local_fs
5 # Required-Stop:
6 # Default-Start:     2 3 4 5
7 # Default-Stop:      0 1 6
8 # Short-Description: <Enter a short description of the sortware>
9 # Description:       <Enter a long description of the software>
10 #                    <...>
11 #                    <...>
12 ### END INIT INFO
13
14 # Author: Wonkyu Kwon <wonkyu.kwon@samsung.com>
15
16 # PATH should only include /usr/* if it runs after the mountnfs.sh script
17 PATH=/usr/bin
18 DESC=smartcard-daemon      # Introduce a short description here
19 NAME=smartcard-daemon      # Introduce the short server's name here
20 DAEMON=/usr/bin/smartcard-daemon # Introduce the server's location here
21 DAEMON_ARGS=""             # Arguments to run the daemon with
22 PIDFILE=/var/run/$NAME.pid
23 SCRIPTNAME=/etc/init.d/$NAME
24
25 # Exit if the package is not installed
26 [ -x $DAEMON ] || exit 0
27
28 $DAEMON $DAEMON_ARGS &