Skip to content

Commit cbcccca

Browse files
authored
fix: prevent start/stop of the service during update (#8)
* fix: prevent start/stop of the service during update * fixup! fix: prevent start/stop of the service during update * trigger ci️
1 parent b58dd5f commit cbcccca

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
#!/bin/sh
22

3-
if [ -d /run/systemd/system ]; then
4-
systemctl daemon-reload
5-
fi
6-
73
systemctl enable arduino-router
84
systemctl enable arduino-router-serial
95

10-
if [ -d /run/systemd/system ]; then
11-
systemctl start arduino-router
12-
systemctl start arduino-router-serial
13-
fi

debian/arduino-router/DEBIAN/prerm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@
33
systemctl disable arduino-router
44
systemctl disable arduino-router-serial
55

6-
if [ -d /run/systemd/system ]; then
7-
systemctl stop arduino-router
8-
systemctl stop arduino-router-serial
9-
fi

0 commit comments

Comments
 (0)