Skip to content

Commit

Permalink
restart service on postinst
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed Sep 12, 2022
1 parent 1b9b6bc commit 1487cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/deb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ EOF
cat > DEBIAN/postinst << EOF
#!/bin/sh -e
deb-systemd-helper enable sparoid-server.service
deb-systemd-invoke start sparoid-server.service
deb-systemd-invoke restart sparoid-server.service
EOF
chmod +x DEBIAN/postinst

Expand Down

0 comments on commit 1487cf6

Please sign in to comment.