diff --git a/webmin.service b/webmin.service index 8302cef..81a0b2b 100644 --- a/webmin.service +++ b/webmin.service @@ -1,13 +1,19 @@ [Unit] Description=Webmin server daemon -After=syslog.target +Wants=network-online.target +After=network.target network-online.target [Service] -ExecStart=/etc/webmin/.start-init -ExecStop=/etc/webmin/.stop-init +Environment="PERLLIB=/usr/share/webmin" +ExecStart=/usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf +ExecStop=/usr/bin/kill $MAINPID +ExecReload=/usr/bin/kill -HUP $MAINPID PIDFile=/var/log/webmin/miniserv.pid Type=forking -KillMode=none +Restart=always +RestartSec=2s +TimeoutSec=15s +TimeoutStopSec=300s [Install] WantedBy=multi-user.target diff --git a/webmin.spec b/webmin.spec index d781c54..07fb0b8 100644 --- a/webmin.spec +++ b/webmin.spec @@ -1,5 +1,5 @@ Name: webmin -Version: 2.100 +Version: 2.101 Release: 1mamba Summary: A web-based interface for system administration for Unix Group: Applications/Web @@ -154,6 +154,9 @@ fi %doc LICENCE %changelog +* Thu Aug 10 2023 Silvan Calarco 2.101-1mamba +- update to 2.101 + * Tue Jul 25 2023 Automatic Build System 2.100-1mamba - automatic version update by autodist