ready for merge in master (#964)

uevent should be format

Enum of smoltcp socket should be optimized.

need to add interface for routing subsys

actix is still not abled to run.

clean some casual added code to other places
This commit is contained in:
2024-10-10 17:53:39 +08:00
committed by GitHub
parent 79eda4bcf9
commit 40d9375b6b
102 changed files with 10497 additions and 3303 deletions

View File

@ -0,0 +1,31 @@
[Unit]
Description=cloud-seed
Requires=network-online.target
After=network-online.target
# If cloud-seed fails, try again every 5 seconds for 30 seconds. If it still
# fails, reboot the system. If your use of cloud-seed is not critical to system
# operation, you may consider changing the FailureAction setting.
StartLimitBurst=6
StartLimitIntervalSec=5
FailureAction=reboot
[Service]
Type=oneshot
RemainAfterExit=true
Restart=on-failure
ExecStart=/usr/bin/cloud-seed
Environment=RUST_LOG=debug
StandardOutput=journal+console
# You can set a more restrictive umask here to restrict the permissions that
# cloud-seed can create files with.
UMask=0000
# cloud-seed can run as a non-root user. In this case, files can only be
# written at paths that this user has permission to write to.
# User=
[Install]
WantedBy=multi-user.target