mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix systemd ordering of ttyd
This commit is contained in:
parent
bb482b014f
commit
52533d5437
2 changed files with 2 additions and 3 deletions
|
@ -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}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue