meson: use jinja2 for unit templates
We don't need two (and half) templating systems anymore, yay! I'm keeping the changes minimal, to make the diff manageable. Some enhancements due to a better templating system might be possible in the future. For handling of '## ' — see the next commit.
This commit is contained in:
committed by
Yu Watanabe
parent
6b1aac3ccf
commit
059cc610b7
@@ -8,19 +8,19 @@
|
||||
# (at your option) any later version.
|
||||
|
||||
[Unit]
|
||||
Description=Early root shell on @DEBUGTTY@ FOR DEBUGGING ONLY
|
||||
Description=Early root shell on {{DEBUGTTY}} FOR DEBUGGING ONLY
|
||||
Documentation=man:systemd-debug-generator(8)
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=yes
|
||||
ConditionPathExists=@DEBUGTTY@
|
||||
ConditionPathExists={{DEBUGTTY}}
|
||||
|
||||
[Service]
|
||||
Environment=TERM=linux
|
||||
ExecStart=@SUSHELL@
|
||||
ExecStart={{SUSHELL}}
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
StandardInput=tty
|
||||
TTYPath=@DEBUGTTY@
|
||||
TTYPath={{DEBUGTTY}}
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
KillMode=process
|
||||
|
||||
Reference in New Issue
Block a user