When waking the system from S3 sleep, the local-system-resume service gives errors and does not execute. No mention of the resume service in /var/log/messages . [code][Unit] Description=Local system resume actions After=suspend.target [Service] Type=simple ExecStart=echo 10 | tee /sys/class/leds/asus::kbd_backlight/brightness [Install] WantedBy=suspend.target[/code] [code]# systemctl status local-system-resume local-system-resume.service - Local system resume actions Loaded: error (Reason: Invalid argument) Active: inactive (dead) Apr 11 23:15:41 hydra systemd[1]: Cannot add dependency job for unit local-system-resume.service, ignoring: Unit local-system-resume.service failed to load: Invalid argument. See system logs and 'systemctl status local-system-resume.service' for details. Apr 12 07:37:43 hydra systemd[1]: Cannot add dependency job for unit local-system-resume.service, ignoring: Unit local-system-resume.service failed to load: Invalid argument. See system logs and 'systemctl status local-system-resume.service' for details. Apr 12 22:59:19 hydra systemd[1]: Cannot add dependency job for unit local-system-resume.service, ignoring: Unit local-system-resume.service failed to load: Invalid argument. See system logs and 'systemctl status local-system-resume.service' for details. Apr 13 23:31:20 hydra systemd[1]: Cannot add dependency job for unit local-system-resume.service, ignoring: Unit local-system-resume.service failed to load: Invalid argument. See system logs and 'systemctl status local-system-resume.service' for details. Apr 14 22:46:17 hydra systemd[1]: Cannot add dependency job for unit local-system-resume.service, ignoring: Unit local-system-resume.service failed to load: Invalid argument. See system logs and 'systemctl status local-system-resume.service' for details. Apr 15 20:52:13 hydra systemd[1]: Cannot add dependency job for unit local-system-resume.service, ignoring: Unit local-system-resume.service failed to load: Invalid argument. See system logs and 'systemctl status local-system-resume.service' for details. Apr 15 23:04:28 hydra systemd[1]: Cannot add dependency job for unit local-system-resume.service, ignoring: Unit local-system-resume.service failed to load: Invalid argument. See system logs and 'systemctl status local-system-resume.service' for details. Apr 16 10:43:17 hydra systemd[1]: Cannot add dependency job for unit local-system-resume.service, ignoring: Unit local-system-resume.service failed to load: Invalid argument. See system logs and 'systemctl status local-system-resume.service' for details. Apr 16 22:48:53 hydra systemd[1]: Cannot add dependency job for unit local-system-resume.service, ignoring: Unit local-system-resume.service failed to load: Invalid argument. See system logs and 'systemctl status local-system-resume.service' for details.[/code]
Please see the documentation for ExecStart [1], it does not accept shell scripts. [1] http://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStart=
Huh? 'echo' is an internal command. And I have other service files which run shell scripts successfully.
Did you read the manual section page I linked to?
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.