cargo-deb support
This commit is contained in:
parent
3bdf4bc1e1
commit
c06113d439
|
@ -41,3 +41,10 @@ tar = "0.4.38"
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
tempfile = "3.4.0"
|
tempfile = "3.4.0"
|
||||||
sha2 = "0.10.6"
|
sha2 = "0.10.6"
|
||||||
|
|
||||||
|
[package.metadata.deb]
|
||||||
|
maintainer = "c0repwn3r <core@e3t.cc>"
|
||||||
|
copyright = "e3team <admin@e3t.cc>"
|
||||||
|
license-file = "LICENSE.txt"
|
||||||
|
maintainer-scripts = "debian/"
|
||||||
|
systemd-units = { enable = false, unit-name = "tfclient@" }
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=A client for Defined Networking compatible overlay networks (instance %i)
|
||||||
|
Wants=basic.target network-online.target
|
||||||
|
After=basic.target network.target network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
SyslogIdentifier=tfclient-%i
|
||||||
|
ExecStart=/usr/bin/tfclient run --server https://api.defined.net --name %i
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue