Compare commits
2 Commits
e01a928d3a
...
dbe84b86ec
Author | SHA1 | Date | |
---|---|---|---|
dbe84b86ec | |||
05e42478b4 |
|
@ -1 +0,0 @@
|
||||||
include debian/
|
|
10
build.sh
Normal file
10
build.sh
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
rm -rf dist/*
|
||||||
|
python3 -m build
|
||||||
|
cd dist/
|
||||||
|
tar zxf *.tar.gz
|
||||||
|
directory=$(ls | grep -v .tar.gz | grep -v whl)
|
||||||
|
rm $directory.tar.gz
|
||||||
|
cp --recursive ../debian/ $directory
|
||||||
|
tar czf $directory.tar.gz $directory
|
||||||
|
rm -r $directory
|
1
debian/adsms.service
vendored
1
debian/adsms.service
vendored
|
@ -1 +0,0 @@
|
||||||
adsms.service
|
|
17
debian/adsms.service
vendored
Normal file
17
debian/adsms.service
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Systemd unit file for the adsms service
|
||||||
|
# Generated by ChatGPT
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=Send SMS notifications based on ADS-B data
|
||||||
|
After=network.target
|
||||||
|
Requires=tar1090.service
|
||||||
|
After=tar1090.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=adsms
|
||||||
|
Group=adsms
|
||||||
|
ExecStart=/usr/local/bin/adsms /etc/adsms.json
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "adsms"
|
name = "adsms"
|
||||||
version = "0.3"
|
version = "0.5"
|
||||||
description = "Send SMS aircraft alerts based on ADS-B data"
|
description = "Send SMS aircraft alerts based on ADS-B data"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [{ name = "Samuel Sloniker", email = "sam@kj7rrv.com"}]
|
authors = [{ name = "Samuel Sloniker", email = "sam@kj7rrv.com"}]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user