fix systemd ordering of ttyd

This commit is contained in:
Tobias Powalowski 2023-11-08 08:33:17 +01:00
parent bb482b014f
commit 52533d5437
2 changed files with 2 additions and 3 deletions

View file

@ -27,7 +27,7 @@ _run ()
_file /usr/lib/libwebsockets-evlib_uv.so
_file_rename /usr/share/archboot/remote/usr/bin/remote-login.sh /usr/bin/remote-login.sh
_file_rename /usr/share/archboot/remote/etc/systemd/system/ttyd.service /etc/systemd/system/ttyd.service
_symlink /etc/systemd/system/multi-user.target.wants/ttyd.service /etc/systemd/system/ttyd.service
_symlink /etc/systemd/system/default.target.wants/ttyd.service /etc/systemd/system/ttyd.service
# fix licenses
_map _file /usr/share/licenses/{nfsidmap/LICENSE,tmux/LICENSE,ttyd/LICENSE}
}

View file

@ -5,11 +5,10 @@
Description=TTYD
After=syslog.target
After=network.target
After=default.target
[Service]
ExecStart=/usr/bin/ttyd remote-login.sh
Type=simple
Restart=always
[Install]
WantedBy=multi-user.target