console.service 272 B

123456789101112
  1. [Unit]
  2. Description=ipfcst-console
  3. After=network.target
  4. [Service]
  5. Type=forking
  6. ExecStart=/home/syjy/ipfcstV3/bin/start-console.sh
  7. ExecStop=/home/syjy/ipfcstV3/bin/stop-console.sh
  8. ExecRestart=/home/syjy/ipfcstV3/bin/restart-console.sh
  9. [Install]
  10. WantedBy=multi-user.target