Commit a6f3ed18 authored by Johannes Barthel's avatar Johannes Barthel
Browse files

use cargo deb for proper systemd service installation

parent 2398fbd6
......@@ -552,7 +552,7 @@ dependencies = [
[[package]]
name = "nodejs-cpu-monitor"
version = "0.2.0"
version = "0.2.1"
dependencies = [
"anyhow",
"lazy_static",
......
[package]
name = "nodejs-cpu-monitor"
version = "0.2.0"
version = "0.2.1"
authors = ["Johannes Barthel <johannes.barthel@student.kit.edu>"]
edition = "2018"
......@@ -17,6 +17,7 @@ depends = "$auto, systemd"
section = "httpd"
priority = "optional"
assets = [
["nodejs-cpu-monitor.service", "/lib/systemd/system/", "644"],
["target/release/nodejs-cpu-monitor", "usr/bin/", "755"]
]
maintainer-scripts = "debian/"
systemd-units = { enable = true }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment