Files
DragonOS/user/sysconfig/home/reach/system/cloud-seed.service
Samuel Dai 40d9375b6b 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
2024-10-10 17:53:39 +08:00

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