Skip to content

Commit

Permalink
0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Apr 6, 2024
1 parent 23d15ab commit e98e48e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "psrt"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
authors = ["Serhij S. <[email protected]>"]
license = "Apache-2.0"
Expand Down
4 changes: 4 additions & 0 deletions make-deb/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ touch /etc/psrtd/psrt-passwd
chmod 600 /etc/psrtd/psrt-passwd
chown psrt /etc/psrtd/psrt-passwd
systemctl enable psrtd
if [ "$1" = "configure" ] && [ -z "$2" ]; then
cat << EOF
Service psrtd enabled
To start the server, execute
systemctl start psrtd
EOF
elif [ "$1" = "configure" ] && [ -n "$2" ]; then
systemctl restart psrtd
fi

0 comments on commit e98e48e

Please sign in to comment.