aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-09-22 22:48:52 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-09-22 22:48:52 +0200
commit2b43bd77898a712fd87c09a368d90d2d0ba09ca0 (patch)
tree27baedb6810014b05567f768824b2a775c40145e
parent60f6698e525747341d4842dac20b7e84bdfb391d (diff)
downloadremail-2b43bd77898a712fd87c09a368d90d2d0ba09ca0.tar.gz
remail: Add TODO and a hacky service file
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--TODO12
-rw-r--r--remail.service13
2 files changed, 25 insertions, 0 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..5155326
--- /dev/null
+++ b/TODO
@@ -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.
diff --git a/remail.service b/remail.service
new file mode 100644
index 0000000..89db18b
--- /dev/null
+++ b/remail.service
@@ -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