File: //proc/25618/root/lib64/systemd/system/syno-dump-bootup-log.service
[Unit]
Description=Synology Dump Bootup Log
After=syno-bootup-done.target
IgnoreOnIsolate=true
[Service]
Type=oneshot
RemainAfterExit=yes
# Bootup-related result of systemd-analyze command will wait until all job is done when bootup.
# Therefore, in order to have this service has nothing to do with bootup, we need to fork a process
# to do the actual task of this service, which is dumping bootup log.
ExecStart=/bin/sh -c '/usr/syno/lib/systemd/scripts/syno-dump-bootup-log.sh &'
# Delegate the timeout mechanism to the forked process itself. The forked process has its own timer.
KillMode=process
[X-Synology]