Changes

From SME Server
Jump to navigationJump to search
9 bytes added ,  14:34, 13 September 2021
no edit summary
Line 4: Line 4:     
normally the 49-koozali.preset should work with the db config. so you have nothing to do except:
 
normally the 49-koozali.preset should work with the db config. so you have nothing to do except:
 +
 
- having a systemd service unit named with the same key as the db
 
- having a systemd service unit named with the same key as the db
 
- removing any link in rc7.d
 
- removing any link in rc7.d
Line 9: Line 10:  
you need to create a /usr/Lib/systemd/system/bandwithd.service.d/50koozali.conf
 
you need to create a /usr/Lib/systemd/system/bandwithd.service.d/50koozali.conf
 
with (the - after ExecStartPre= is not a typo)
 
with (the - after ExecStartPre= is not a typo)
[Unit]
+
[Unit]
After=wan.service
+
After=wan.service
After=networking.service
+
After=networking.service
[Service]
+
[Service]
ExecStartPre=-/sbin/e-smith/expand-template /etc/bandwidthd.conf
+
ExecStartPre=-/sbin/e-smith/expand-template /etc/bandwidthd.conf
[Install]
+
[Install]
wantedBy=sme-server.target
+
wantedBy=sme-server.target
 +
 
 
this file will be owned by smeserver-b... package
 
this file will be owned by smeserver-b... package
  

Navigation menu