Reload systemd in deb install

This commit is contained in:
Dennis Schwerdel 2020-07-06 23:06:38 +02:00
parent df394a259b
commit bf808f9be4
2 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,7 @@ license-file = ["LICENSE.md", "1"]
changelog = "assets/changelog.txt" changelog = "assets/changelog.txt"
section = "net" section = "net"
depends = "libc6 (>= 2.23), libgcc1 (>= 1:6.0.1)" depends = "libc6 (>= 2.23), libgcc1 (>= 1:6.0.1)"
maintainer-scripts = "assets/deb-scripts"
assets = [ assets = [
["target/release/vpncloud", "/usr/bin/vpncloud", "755"], ["target/release/vpncloud", "/usr/bin/vpncloud", "755"],
["assets/example.net.disabled", "/etc/vpncloud/example.net.disabled", "600"], ["assets/example.net.disabled", "/etc/vpncloud/example.net.disabled", "600"],

3
assets/deb-scripts/postint Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
systemctl daemon-reload