Skip to content

Commit

Permalink
Further refinement of the systemd script
Browse files Browse the repository at this point in the history
  • Loading branch information
petrockblog committed Jun 6, 2022
1 parent 6654054 commit 41558f7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions scripts/controlblock-start.sh

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/controlblock.service
Expand Up @@ -3,8 +3,8 @@ Description=ControlBlock Service
Documentation=https://www.petrockblock.com

[Service]
Type=oneshot
ExecStart=/usr/bin/controlblock-start.sh
Type=simple
ExecStart=/usr/bin/controlblock

[Install]
WantedBy=multi-user.target
1 change: 0 additions & 1 deletion scripts/insertLine.sh
Expand Up @@ -13,5 +13,4 @@ addSPIBcmModule

# install ControlBlockService files
install -m 0755 controlblock.service /etc/systemd/system/
install -m 0755 controlblock-start.sh /usr/bin/
systemctl enable --now controlblock.service

0 comments on commit 41558f7

Please sign in to comment.