fix secop-generator
Change-Id: Ic983cadefcf04807b43654a7ce4339a8362b37a1 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/22936 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
parent
7619e8405d
commit
9725b4326e
@ -46,6 +46,9 @@ def main():
|
||||
for srv in all_servers:
|
||||
symlink = '%s/secop@%s.service' % (normal_dir, srv)
|
||||
os.symlink(secop_unit, symlink)
|
||||
if not path.isdir(wants_dir):
|
||||
os.mkdir(wants_dir)
|
||||
os.symlink(symlink, '%s/%s' % (wants_dir, path.basename(symlink)))
|
||||
|
||||
# the stamp file signals successful run of the generator
|
||||
open(normal_dir + '/secop.stamp', 'w').close()
|
||||
|
@ -1,7 +1,6 @@
|
||||
[Unit]
|
||||
Description=SECoP SEC-node: %i
|
||||
After=network-online.service
|
||||
Documentation=
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
|
Loading…
x
Reference in New Issue
Block a user