the terminal became an unresponsive input - I had to press ctrl-z to get outof it.
Try:
ExecStartPost=/usr/bin/timeout -k 1 5 /bin/bash -c "while :; do [ -e /home/mystic/semaphore/mis.bsy ] && break; /bin/sleep 1; done; exit 0"
PIDFile=/home/mystic/semaphore/mis.bsy
time itlooked like everything was good, but when I rebooted, MIS server still hadn'tloaded on its own.
Check "sudo systemctl status mis" or "sudo journalctl -xea -u mis" to
see what it says.
It's no big deal though. I appreciate what you guys are trying to hel with, but I can go without it. Starting mis manually is not a problem for me.
The other thing you can do if you wanted to start it automatically is
add it to /etc/rc.local
Let me know if you have any suggestions based on this info. But no pressure! I can live without mis.service, but it would be cool if it worked.
TELNET Unable to open IPV4 port: Error -1 (13)
TELNET Unable to open IPV6 port: Error -1 (13)
What I make of this: The mis.log indicated that it was unable to open ports(at that moment) so I'm not sure why. Maybe the script is running
too quicklyafter boot? That's just my guess.
Let me know if you have any suggestions based on this info. But no
After=network-online.targetand this:
AmbientCapabilities=CAP_NET_BIND_SERVICE
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 93 |
Nodes: | 16 (0 / 16) |
Uptime: | 01:06:20 |
Calls: | 5,159 |
Calls today: | 4 |
Files: | 8,491 |
D/L today: |
16 files (1,673K bytes) |
Messages: | 353,004 |