3 changed files with 20 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
[Unit] |
||||
|
Description=Load database on startup |
||||
|
Before=smbd.service |
||||
|
After=network-online.target |
||||
|
|
||||
|
[Service] |
||||
|
Type=oneshot |
||||
|
EnvironmentFile=/etc/environment |
||||
|
ExecStart=/bin/bash -c "db-load /vol/data/smbpasswd" |
||||
|
|
||||
|
[Install] |
||||
|
WantedBy=multi-user.target |
Loading…
Reference in new issue