...
- At this stage, it is strongly recommended you check where the service scripts are located
- Run the following command
| Code Block | ||
|---|---|---|
| ||
systemctl list-unit-filesls /etc/init.d/ | grep -i dual |
- If you see results of...
..then it is most certainly systemd
...
|
- If 'dualshield' and 'dualsql' appear in the output, then copy the SysV services scripts as follows
| Code Block | ||
|---|---|---|
| ||
cp /usretc/lib/systemd/system/dualshield.serviceinit.d/dualshield . cp /usretc/lib/systemd/system/dualsql.service . |
- If however you had blank results then please try
...
| language | bash |
|---|
...
init.d/dualsql . |
- If 'dualshield' and 'dualsql' do not exist under /etc/init.d
...
- If you see results of...
...
- then
...
- copy the
...
- following systemd service script instead
| Code Block | ||
|---|---|---|
| ||
cp /etc/init.d/dualshieldusr/lib/systemd/system/dualshield.service . cp /usr/lib/etcsystemd/init.dsystem/dualsql.service . |
- Copy all files to the new machine
...