Annotation of /mcore-src/trunk/mcore-tools/daemon/client/mcored.service
Parent Directory | Revision Log
Revision 2116 -
(hide annotations)
(download)
Thu Jan 2 16:29:17 2014 UTC (10 years, 4 months ago) by niro
File size: 357 byte(s)
Thu Jan 2 16:29:17 2014 UTC (10 years, 4 months ago) by niro
File size: 357 byte(s)
-always restart the mcored and kill by process id
1 | niro | 2035 | [Unit] |
2 | niro | 2055 | Description=mCore Client Configuration Daemon. |
3 | niro | 2035 | After=syslog.target network.target |
4 | |||
5 | [Service] | ||
6 | PIDFile=/run/mcored.pid | ||
7 | niro | 2055 | EnvironmentFile=-/etc/conf.d/mcored |
8 | niro | 2035 | ExecStart=/usr/sbin/sslsvd -U $SSL_USER -/ $CHROOT_DIR -Z $SSL_CERT -K $SSL_KEY $OPTS $LISTEN_IP $LISTEN_PORT /usr/sbin/mcored |
9 | niro | 2116 | KillMode=process |
10 | Restart=always | ||
11 | niro | 2035 | |
12 | [Install] | ||
13 | WantedBy=multi-user.target |