install_service.sh 564 B

1234567891011121314151617
  1. #!/bin/bash
  2. # Copyright: 2016-2018 ROS小课堂 www.corvin.cn
  3. # Author: corvin
  4. # Description: install voice system service to /lib/systemd/system,this will
  5. # auto roslaunch voice system when poweron.
  6. # History:
  7. # 20181129: initial this bash file.
  8. sudo cp ./voice_system_service/voice_system_start /usr/sbin/
  9. sudo cp ./voice_system_service/voice_system_stop /usr/sbin/
  10. sudo cp ./voice_system_service/voice_system_restart /usr/sbin/
  11. sudo cp ./voice_system_service/voice_system.service /lib/systemd/system/
  12. sudo systemctl enable voice_system.service
  13. exit 0