Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Commit

Permalink
Updating deb package scripts
Browse files Browse the repository at this point in the history
In debian launch script, create default expected log file w/ proper permissions.
  • Loading branch information
NanoDano committed Apr 4, 2019
1 parent 7adb89a commit dba7a82
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 62 deletions.
111 changes: 49 additions & 62 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions deb/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ mkdir -p /home/nanopot
/usr/bin/python3 -m pip uninstall -y nanopot
/usr/bin/python3 -m pip install nanopot --no-cache-dir

touch /var/log/nanopot.log
chown -R nanopot:nanopot /var/log/nanopot.log

systemctl enable nanopot

0 comments on commit dba7a82

Please sign in to comment.