Skip to content

Commit 9de971f

Browse files
committed
fix: ase-system-start service was never being enabled in the first place
1 parent ad8da5e commit 9de971f

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

tasks/setup.yaml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,16 +365,27 @@
365365
content: |
366366
[Unit]
367367
Description=Resets Rover servos and motors, early in the boot sequence
368-
Before=basic.target
369-
After=local-fs.target sysinit.target
370-
DefaultDependencies=no
368+
After=roverd.service
369+
Requires=roverd.service
371370
372371
[Service]
373372
Type=simple
373+
ExecStartPre=/bin/sleep 11
374374
ExecStart=/home/debix/ase/bin/system-start
375+
Restart=never
375376
376377
[Install]
377-
WantedBy=basic.target
378+
WantedBy=multi-user.target
379+
380+
- name: Restart the roverd service
381+
tags:
382+
- setup
383+
become: true
384+
ansible.builtin.systemd_service:
385+
name: ase-system-start
386+
state: stopped
387+
enabled: true
388+
daemon_reload: true
378389

379390
- name: Install system-shutdown script
380391
tags:

0 commit comments

Comments
 (0)