updated install script

This commit is contained in:
Andris Reinman 2016-06-02 13:25:49 +03:00
parent 37f70bc499
commit 2f8f7c56f2

View file

@ -68,7 +68,7 @@ cat <<EOM > /etc/logrotate.d/mailtrain
} }
EOM EOM
if [ -d "/usr/lib/systemd" ]; then if [ -d "/run/systemd/system" ]; then
# Set up systemd service script # Set up systemd service script
cp setup/mailtrain.service /etc/systemd/system/ cp setup/mailtrain.service /etc/systemd/system/
systemctl enable mailtrain.service systemctl enable mailtrain.service