-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from joular/develop
Version 0.7.0
- Loading branch information
Showing
14 changed files
with
174 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
# Create folders for pacakge formats | ||
mkdir deb | ||
|
||
# Create folder structure for debian | ||
mkdir -p deb/powerjoular/usr/bin deb/powerjoular/etc/systemd/system deb/powerjoular/DEBIAN | ||
|
||
# Copy binary files for deb package | ||
cp ../obj/powerjoular ./deb/powerjoular/usr/bin/ | ||
cp ../systemd/powerjoular.service ./deb/powerjoular/etc/systemd/system/ | ||
cp ./debian-control-$1.txt ./deb/powerjoular/DEBIAN/control | ||
|
||
# Create deb package | ||
cd deb | ||
dpkg-deb --build powerjoular | ||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Package: powerjoular | ||
Version: 0.7 | ||
Maintainer: Adel Noureddine | ||
Architecture: amd64 | ||
Description: PowerJoular allows monitoring power consumption of multiple platforms and processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Package: powerjoular | ||
Version: 0.7 | ||
Maintainer: Adel Noureddine | ||
Architecture: arm64 | ||
Description: PowerJoular allows monitoring power consumption of multiple platforms and processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Package: powerjoular | ||
Version: 0.7 | ||
Maintainer: Adel Noureddine | ||
Architecture: armhf | ||
Description: PowerJoular allows monitoring power consumption of multiple platforms and processes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
# Create folder structure | ||
mkdir -p powerjoular/usr/bin powerjoular/etc/systemd/system powerjoular/DEBIAN | ||
|
||
# Copy binary files for deb package | ||
cp ../../obj/powerjoular ./powerjoular/usr/bin/ | ||
cp ../../systemd/powerjoular.service ./powerjoular/etc/systemd/system/ | ||
|
||
# Create deb package | ||
dpkg-deb --build powerjoular |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Package: powerjoular | ||
Version: 0.7 | ||
Maintainer: Adel Noureddine | ||
Architecture: amd64 | ||
Description: PowerJoular allows monitoring power consumption of multiple platforms and processes. |
11 changes: 11 additions & 0 deletions
11
installer/debian/powerjoular/etc/systemd/system/powerjoular.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=PowerJoular service | ||
|
||
[Service] | ||
Type=simple | ||
Restart=always | ||
User=root | ||
ExecStart=/usr/bin/powerjoular -o /tmp/powerjoular-service.csv | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters