From abadbf93b2366ded8ff3db5c51c066c55950afb4 Mon Sep 17 00:00:00 2001 From: codepuncher Date: Tue, 5 Mar 2024 15:22:21 +0000 Subject: [PATCH] feat(wsl): add example systemd `mailpit` service --- templates/mailpit.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/mailpit.service diff --git a/templates/mailpit.service b/templates/mailpit.service new file mode 100644 index 0000000..6729ef3 --- /dev/null +++ b/templates/mailpit.service @@ -0,0 +1,13 @@ +[Unit] +Description=Mailpit server +Documentation=https://github.com/axllent/mailpit +After=network.target + +[Service] +ExecStart=/usr/local/bin/mailpit +Restart=on-failure +RestartSec=10 +SyslogIdentifier=mailpit + +[Install] +WantedBy=multi-user.target