Timeline for answer to Using systemd's Exec*-command to pass commands to the process by Tiky
Current License: CC BY-SA 4.0
Post Revisions
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 6, 2019 at 5:36 | comment | added | Tiky | Could it be expecting \r\n at the end? Try instead: printf "/help\r\n" > /run/minecraft.control | |
| Sep 4, 2019 at 22:01 | vote | accept | Th1sD0t | ||
| Sep 4, 2019 at 20:08 | comment | added | Th1sD0t | Unfortunately it's not exactly working as intended. For debugging purpose I opened 3 terminals (journal to view the log, a console to view the fifo and a terminal to pass the command (echo "/help" > /run/minecraft.control). Unfortunately, the journal just tells me that the entered command is unknown and I should type /help for help. | |
| Sep 4, 2019 at 18:57 | vote | accept | Th1sD0t | ||
| Sep 4, 2019 at 20:28 | |||||
| Sep 4, 2019 at 18:52 | history | edited | Tiky | CC BY-SA 4.0 |
added 15 characters in body
|
| Sep 4, 2019 at 18:04 | comment | added | Tiky | I added clarifications in the answer. | |
| Sep 4, 2019 at 18:04 | history | edited | Tiky | CC BY-SA 4.0 |
added 584 characters in body
|
| Sep 4, 2019 at 17:21 | comment | added | Th1sD0t | seems like thats exactly what I'm looking for. Allow me to ask one question regarding your answer as I'm not a linux expert: Why do we have to use KillSignal=SIGCONT? Sockets=xxx contains the name of the Socket you created above, correct? The socket-file (in this case test.socket?) has to be placed in the same directory as the service? | |
| Sep 4, 2019 at 3:58 | history | answered | Tiky | CC BY-SA 4.0 |