mirror of
https://github.com/ysoftdevs/ubuntu-bionic-systemd-iotedge.git
synced 2026-11-14 04:53:36 +01:00
idiot, build doesn't run as systemd
This commit is contained in:
1 parent
5f5e47af24
commit
5f74916002
1 file changed
+1
-1
+1
-1
@@ -12,7 +12,7 @@ RUN curl https://packages.microsoft.com/config/ubuntu/18.04/multiarch/prod.list
|
||||
rm -rf /var/lib/{apt,dpkg,cache,log}/ &&\
|
||||
printf '[Unit] \nDescription=FOO BAR \n \n[Service] \nType=oneshot \nExecStart=/usr/bin/iotedge config apply \n \n[Install] \nWantedBy=aziot-edged.service' \
|
||||
>> /etc/systemd/system/aziot-init.service &&\
|
||||
systemctl daemon-reload && systemctl enable aziot-init.service
|
||||
systemctl enable aziot-init.service
|
||||
|
||||
# connect CM to /etc/aziot/config.toml
|
||||
# iotedge config apply
|
||||
Reference in new issue
Block a user