remail: Add TODO and a hacky service file

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2019-09-22 22:48:52 +02:00
parent 60f6698e52
commit 2b43bd7789
2 changed files with 25 additions and 0 deletions

12
TODO Normal file
View file

@ -0,0 +1,12 @@
Non-comprehensive todo list:
- Add Python setup.py
- Add Debian/RPM packaging
- Write a proper service file
- Mail command processing (FREEZE/UNFREEZE of subscribers, UNFREEZE of
frozen messages). Most of the code is already available, I just need
to find the time to clean it up and move it over from the old python2
based version which served us well for more than a year.

13
remail.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=remail server
After=syslog.target network.target
ConditionPathExists=/home/remail/remail/remail.yaml
[Service]
Type=simple
User=remail
WorkDir=~/remail
ExecStart=/usr/bin/remail_daemon -v /home/remail/remail/remail.yaml
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=default.target