Commit 6e84d33b authored by Lucas Détré's avatar Lucas Détré

change systemctl into service

parent 3a986027
Pipeline #3304 passed with stages
in 7 minutes and 40 seconds
...@@ -62,7 +62,7 @@ RUN update-rc.d spamassassin enable \ ...@@ -62,7 +62,7 @@ RUN update-rc.d spamassassin enable \
&& sed -i 's/CRON=0/CRON=1/' /etc/default/spamassassin \ && sed -i 's/CRON=0/CRON=1/' /etc/default/spamassassin \
&& sed -i 's/OPTIONS="--create-prefs --max-children 5 --helper-home-dir"/OPTIONS="--create-prefs --max-children 2 --username spamd \ && sed -i 's/OPTIONS="--create-prefs --max-children 5 --helper-home-dir"/OPTIONS="--create-prefs --max-children 2 --username spamd \
-H ${SAHOME} -s ${SAHOME}spamd.log"/' /etc/default/spamassassin \ -H ${SAHOME} -s ${SAHOME}spamd.log"/' /etc/default/spamassassin \
&& systemctl restart spamassassin && service spamassassin start
EXPOSE 5000 EXPOSE 5000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment