mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 03:56:44 +00:00
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
32 lines
836 B
Desktop File
32 lines
836 B
Desktop File
[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
|