Try poetry directive

This commit is contained in:
Samuel Sloniker 2023-05-08 10:38:19 -07:00
parent e01a928d3a
commit 05e42478b4
2 changed files with 21 additions and 2 deletions

View File

@ -1 +0,0 @@
adsms.service

17
debian/adsms.service vendored Normal file
View 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

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "adsms"
version = "0.3"
version = "0.5"
description = "Send SMS aircraft alerts based on ADS-B data"
readme = "README.md"
authors = [{ name = "Samuel Sloniker", email = "sam@kj7rrv.com"}]
@ -25,3 +25,6 @@ adsms = "adsms:main"
[tool.setuptools]
packages = ["adsms"]
[tool.poetry]
include = ["debian/"]