Fix init script

This commit is contained in:
Sergey Morozov 2016-11-26 03:49:31 +03:00
parent 2f3dcb9699
commit b29dde58ab
2 changed files with 12 additions and 9 deletions

View File

@ -3,7 +3,7 @@ AUX spectrum.cfg 4770 SHA256 c29eb5bed5776bdce171eb303e0e6815b60dc3c61f2a3114922
AUX spectrum.confd 157 SHA256 5f1c7a7c614ffb15ba64caadd560088cf3a8032f3973489a31f65c89ce286c85 SHA512 511213a0bb4d91b22d3c9ac8e90978248076a9697cbeaa5bfd53eaac3ce1850f78739768dc88f2443519b64dc61f278be32ed408f0c7b2f64f29c01f94fc5fee WHIRLPOOL 5fee736176e83e264af7229836bec5a09bcd598cfaaf7dea9f8362e3c864d6a241128d96c9030d3640247692b250b39d7d1f906bad7caa2c08961d10468a445d AUX spectrum.confd 157 SHA256 5f1c7a7c614ffb15ba64caadd560088cf3a8032f3973489a31f65c89ce286c85 SHA512 511213a0bb4d91b22d3c9ac8e90978248076a9697cbeaa5bfd53eaac3ce1850f78739768dc88f2443519b64dc61f278be32ed408f0c7b2f64f29c01f94fc5fee WHIRLPOOL 5fee736176e83e264af7229836bec5a09bcd598cfaaf7dea9f8362e3c864d6a241128d96c9030d3640247692b250b39d7d1f906bad7caa2c08961d10468a445d
AUX spectrum.initd 592 SHA256 80c37c82dcd1b867400de4e23433ec0b822418d2858b441dd464259e650bf27b SHA512 ed6a168a42842969804938ef7fd1a4d0d6c8a98feb5727ac41b21c22a874a4ebb1410b760e396c2f9296207fca7499a07ee85b994d2f9222cca0c834c559ff17 WHIRLPOOL 3c36392881880806af8f47983cc742d735aa2597b7444c26021d5d9038b1c3b9c658df474e23722727116ff8b2d7052209d68fa14241d5e0f0d42da032f7fa37 AUX spectrum.initd 592 SHA256 80c37c82dcd1b867400de4e23433ec0b822418d2858b441dd464259e650bf27b SHA512 ed6a168a42842969804938ef7fd1a4d0d6c8a98feb5727ac41b21c22a874a4ebb1410b760e396c2f9296207fca7499a07ee85b994d2f9222cca0c834c559ff17 WHIRLPOOL 3c36392881880806af8f47983cc742d735aa2597b7444c26021d5d9038b1c3b9c658df474e23722727116ff8b2d7052209d68fa14241d5e0f0d42da032f7fa37
AUX spectrum.symlink.cfg 4855 SHA256 3dfb88f041ae3a835241ea4c128ce6958a95f944534349aebdb56d9d74efe1f3 SHA512 bdd31ae8093a10e6d4f8851451230cccf47132e3374b46863e03b793d4495901f366858dd8b2ea02143f932cf5abc63f4719be3b8ef0325fea6db11e54d458ad WHIRLPOOL 363dd7aaa569b061b2b0e09a1cfa9280f87d1c26c503a14b921e7a36ec956b7d517a668fe64be170f2fc73b1658439cca449e4f043b3c94714055d9c8c27fdf7 AUX spectrum.symlink.cfg 4855 SHA256 3dfb88f041ae3a835241ea4c128ce6958a95f944534349aebdb56d9d74efe1f3 SHA512 bdd31ae8093a10e6d4f8851451230cccf47132e3374b46863e03b793d4495901f366858dd8b2ea02143f932cf5abc63f4719be3b8ef0325fea6db11e54d458ad WHIRLPOOL 363dd7aaa569b061b2b0e09a1cfa9280f87d1c26c503a14b921e7a36ec956b7d517a668fe64be170f2fc73b1658439cca449e4f043b3c94714055d9c8c27fdf7
AUX spectrum2.initd 870 SHA256 a286bbb5e2c7fb669d0b87eb675813fba8c85840d902fe3a74988ab9f78f0677 SHA512 7d613d500c0c587ae98e4b75f9de128bc5e5d930f5e307c9e2609577d6bf72ed75148fd664297107f8b6412a47d8362b1c91b60b1b0d02e40e17d27302b2b0ff WHIRLPOOL 673757f73060b90ad34a0f4cbf8b8b47b459bbd9c9b48ee8d8e4392c504490f1e8b1e0e38d24968c7a6f232be72f3087f75bc2311c353ea41bec0332f634c5fe AUX spectrum2.initd 910 SHA256 1fea5fae418749765a2db389cdcc5d2f50da2a85dc4d0df394eb37fb593285c2 SHA512 5c76c70b8ccf019f9f2ef7f0c86c2b6528d8537f351425048bcbf148bd10c6ac22ee531e46d292b6a855d529ad6dbc39715d3a76e52c96c7b873baebf7edd38a WHIRLPOOL bf826d9dcd9159de91af1e0cfc9f86b6a3cbb3cbe4be2f97aff4f328e5f8c0f21400b5bbf340c7ee5bfab8882d0e6660fb1da69f2ab032f66128d63210b7e855
DIST spectrum-1.4.8.tar.gz 239725 SHA256 40045139cdeb7fbc085fe80bb8124b518bb57520fbb644bc50b132de8cebc3cc SHA512 05f5932ba4e5d42107b2bf1396d5c410a792d9692841d82676eaf136b0a051b9efa3232d6a82d3ad1fe4b4d77b8e6e34e005145456957633bc88a9b5d3095094 WHIRLPOOL 822fd187282bb663073aa80b2358b4314193db43387f493fee5161c7992e9dda9accbf3609c3f5ee4cc3aea63b733284a5b2c77a0187332432a608c9f21d39a2 DIST spectrum-1.4.8.tar.gz 239725 SHA256 40045139cdeb7fbc085fe80bb8124b518bb57520fbb644bc50b132de8cebc3cc SHA512 05f5932ba4e5d42107b2bf1396d5c410a792d9692841d82676eaf136b0a051b9efa3232d6a82d3ad1fe4b4d77b8e6e34e005145456957633bc88a9b5d3095094 WHIRLPOOL 822fd187282bb663073aa80b2358b4314193db43387f493fee5161c7992e9dda9accbf3609c3f5ee4cc3aea63b733284a5b2c77a0187332432a608c9f21d39a2
DIST spectrum-2.0.0-beta2.tar.gz 273480 SHA256 51e0db3000de13258b4a2562a40511d40eb6e39aa45728f4ae5efcd520b2c4c7 SHA512 95caa53f8f13c822a6e07635fb9b7e277a4fa97505d5020649ef77221033b3aa23bb6fc0cd3756ed440ef19d5a141f24122d975b063320cecce3a3a02a4a7b64 WHIRLPOOL 9a215317dd7d50482248cb0aa06f0a18052bc3270ee0a1632736b23cfa86a7c640ed991150959648d93c77007b13a3a5af8a057fb192ccbaf328ef61bd42d6f2 DIST spectrum-2.0.0-beta2.tar.gz 273480 SHA256 51e0db3000de13258b4a2562a40511d40eb6e39aa45728f4ae5efcd520b2c4c7 SHA512 95caa53f8f13c822a6e07635fb9b7e277a4fa97505d5020649ef77221033b3aa23bb6fc0cd3756ed440ef19d5a141f24122d975b063320cecce3a3a02a4a7b64 WHIRLPOOL 9a215317dd7d50482248cb0aa06f0a18052bc3270ee0a1632736b23cfa86a7c640ed991150959648d93c77007b13a3a5af8a057fb192ccbaf328ef61bd42d6f2
EBUILD spectrum-1.4.8.ebuild 3656 SHA256 a1b79306dbfb807582a9d9660a67f279ee0077c69d500442dbb9514fc93c0f39 SHA512 d9b279e1d7db99b0700b051b68ab8d708ee8663235e4777685d60849dbf56e60d54a3c54f4f4051c89149ba2e8a395b6bc2796d11729314719054c6c9757318e WHIRLPOOL 387bfd16b75c3007ae80da4e682afcf56a2d78aa47671d138e4e1692feb1f459230e0572cce46a7c36273e7976a72195f0a5720e663ac5a3aa53705903722367 EBUILD spectrum-1.4.8.ebuild 3656 SHA256 a1b79306dbfb807582a9d9660a67f279ee0077c69d500442dbb9514fc93c0f39 SHA512 d9b279e1d7db99b0700b051b68ab8d708ee8663235e4777685d60849dbf56e60d54a3c54f4f4051c89149ba2e8a395b6bc2796d11729314719054c6c9757318e WHIRLPOOL 387bfd16b75c3007ae80da4e682afcf56a2d78aa47671d138e4e1692feb1f459230e0572cce46a7c36273e7976a72195f0a5720e663ac5a3aa53705903722367

View File

@ -12,6 +12,9 @@ depend() {
start() { start() {
ebegin "Starting ${PROTOCOL} Spectrum Transport" ebegin "Starting ${PROTOCOL} Spectrum Transport"
if [ ! -d ${piddir} ]; then
checkpath -q -d -o jabber:jabber -m 0755 ${piddir} || return
fi
start-stop-daemon --start --user jabber --group jabber \ start-stop-daemon --start --user jabber --group jabber \
--exec /usr/bin/spectrum2_manager start &> $LOGFILE --exec /usr/bin/spectrum2_manager start &> $LOGFILE
eend $? eend $?