meta-sysmocom-bsp/recipes-support/oc2g-sysdev-remap/files/oc2g-sysdev-remap.service

19 lines
453 B
SYSTEMD

[Unit]
Description=Remapping all available system devices of platform to a easy to reach location
After=local-fs.target
Before=osmo-bts-oc2g.service
After=checkflash.service
Wants=checkflash.service
After=time-sync.target
Conflicts=shutdown.target
[Service]
Type=oneshot
RuntimeDirectory=oc2g
ExecStart=/bin/ln -f -s /run/oc2g /var/oc2g
ExecStart=/usr/bin/oc2g-sysdev-remap
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target oc2gbts-mgr.service