mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
17 lines
404 B
Desktop File
17 lines
404 B
Desktop File
[Unit]
|
|
Description=[pipower] Assert BOOT signal
|
|
DefaultDependencies=no
|
|
After=final.target systemd-journald.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=PIN_BOOT=4
|
|
EnvironmentFile=-/etc/default/pipower
|
|
RemainAfterExit=true
|
|
ExecStartPre=/usr/bin/gpio -g mode $PIN_BOOT output
|
|
ExecStart=/usr/bin/gpio -g write $PIN_BOOT 0
|
|
ExecStopPost=/usr/bin/gpio -g write $PIN_BOOT 1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|