From 64cc2b23807dd0921d38a7777c474f10eabf3424 Mon Sep 17 00:00:00 2001 From: "fox.cpp" Date: Tue, 2 Jun 2020 23:58:39 +0300 Subject: [PATCH] dist: Add missing [Install] section to systemd units --- dist/systemd/maddy.service | 3 +++ dist/systemd/maddy@.service | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dist/systemd/maddy.service b/dist/systemd/maddy.service index 60b643a..f833060 100644 --- a/dist/systemd/maddy.service +++ b/dist/systemd/maddy.service @@ -73,3 +73,6 @@ ExecStart=/usr/bin/maddy ExecReload=/bin/kill -USR1 $MAINPID ExecReload=/bin/kill -USR2 $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/dist/systemd/maddy@.service b/dist/systemd/maddy@.service index 0174648..80953a0 100644 --- a/dist/systemd/maddy@.service +++ b/dist/systemd/maddy@.service @@ -69,3 +69,6 @@ ExecStart=/usr/bin/maddy -config /etc/maddy/%i.conf ExecReload=/bin/kill -USR1 $MAINPID ExecReload=/bin/kill -USR2 $MAINPID + +[Install] +WantedBy=multi-user.target