• 5 Posts
  • 704 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle




  • You know that Twitter isn’t banned in Turkiye and India because they complied with their requests for censure,

    Yes, and I oppose that.

    since you know, those are right wing governments run by strong men

    Could be, could be he got fed up with it, idk.

    Funny how free speech becomes the issue just when the requests come from governments whose ideology don’t align with this particular clown’s.

    Um, no? Free speech was an issue then too. Someone can do good things and bad things. Censoring is bad, refusing to censor even if its just in one case is good.

    you’re banned if you correctly call someone cis gendered.

    Yes that’s bad

    I don’t know what you’re misunderstanding, censorship is bad, its bad when Musk does it, and its really bad when a government does it. Because governments can shoot you and throw you in jail for not complying.










  • No, you’re still misunderstanding what’s being done. ${server_service} is an injected string, the string is the whole contents of the file. That file is not stored locally on the server, except through being injected here(by a terraform file template). And no, printf won’t be any better than echo because its not format string, and I don’t want any formatting from printf applied to it.


  • I’m reading this and interpreting that line 27 of that script is

    And your interpretation is wrong. Line 27 is actuallly

    sudo echo "${server_service}" > /lib/systemd/system/server.service

    ${server_service} is read from the file I posted in the 2nd image. Since it was a test script I hadn’t bothered implementing any escaping tools, I wanted to make sure terraform allowed this first.





  • No, because neither of those are the inputs. The input was the systemd file in the image. The whole command was not printed in the error, only surrounding context. The single-quote was indicating the ending of that context(because it was the end of the line) printed by the error.

    The same thing was done with `)' on the first line of error