検索

Mastodonは、distディレクトリに #systemd 用serviceファイルが付属しているのだけど、Mastodon.Tokyoでは[email protected]のExecStart=/usr/bin/node ./streamingをExecStart=/home/mastodon/.nodenv/shims/node ./streamingに変更している。

これをsystemdのドロップインで「上書き」できれば、/etc/systemd/system/[email protected]を書き換える必要がなくなってうれしいのだけど、残念ながらType=oneshotでないType=simpleなどでは「上書き」ではなくExecStartが2行あるとみなされてしまうようで、「ぐぬぬ」という気持ちになっている。
返信 1 · Renote 0
Do you know about http://verybad.kushaldas.in:8000/ experiment? This web application has a lot of #security holes, and I tried to secure it using only #systemd. Feel free to do a round of #pentest, #attack the box. Remember to let me know what did you find. The box is up from April end 2022. Please boost so that your other security minded friends see this. I try to make sure that any learning from this goes back to systemd upstream. #infosec #linux #rustlang #rust
返信 0 · Renote 0