mirror of
https://github.com/armbian/build.git
synced 2025-08-15 15:46:58 +02:00
* Basic armbian services RFC - tested building and upgrade - armbian-optimize-hardware and armbian-setup-hardware have still the same content * fix permissions * Forther renaming and small fixes * Odroid C2 NEXT tiny config adjustement to remove errros from bootup and moving u-boot to 2018.05 * More cleanings * permissions fix * More cleanup ... * permi * Remove few Ubuntu related things, fix permissions * Further mini improvements * Fix logrotate compression and permission issues * Bugfix * Wrong services setup at package install. fixing * RAM logging: workaround for older kernel/btrfs driver versions * Renaming services, proper config for zram, few bugfixes. * Various fixes * Various fixes * No $TMPFILE needed here * Various fixes * Lower this so boards with low memory can use it too * Various fixes * Adjust logfile to armbian-hardware-monitor.log * Remove swap file creation * Fix permissions in all logrotate configs if needed. * Prevent loading parallel printer port drivers which we don't need here.
20 lines
508 B
Desktop File
20 lines
508 B
Desktop File
# Armbian hardware optimization service
|
|
# Apply optimisations
|
|
# This service may block the boot process for up to 2 minutes
|
|
|
|
[Unit]
|
|
Description=Armbian hardware optimization
|
|
Before=basic.target
|
|
After=sysinit.target local-fs.target armbian-hardware-monitor.target
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/lib/armbian/armbian-hardware-optimization start
|
|
ExecStop=/usr/lib/armbian/armbian-hardware-optimization stop
|
|
RemainAfterExit=yes
|
|
TimeoutStartSec=2min
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|