Lines Matching refs:bar
206 create_services foo bar@ yup@
209 cat >>/etc/systemd/system/bar@.service <<EOF
211 After=bar-template-after.device
219 ln -s /etc/systemd/system/bar@.service /etc/systemd/system/foo.service.wants/bar@1.service
220 check_ok foo Wants bar@1.service
223 ln -s bar@.service /etc/systemd/system/bar-alias@.service
224 ln -s bar@1.service /etc/systemd/system/bar-alias@1.service
225 ln -s yup@.service /etc/systemd/system/bar-alias@2.service
226 ln -s yup@3.service /etc/systemd/system/bar-alias@3.service
229 mkdir -p /etc/systemd/system/bar@{,0,1,2,3}.service.requires/
231 mkdir -p /etc/systemd/system/bar-alias@{,0,1,2,3}.service.requires/
233 ln -s ../bar-template-requires.device /etc/systemd/system/bar@.service.requires/
234 ln -s ../bar-0-requires.device /etc/systemd/system/bar@0.service.requires/
235 ln -s ../bar-1-requires.device /etc/systemd/system/bar@1.service.requires/
236 ln -s ../bar-2-requires.device /etc/systemd/system/bar@2.service.requires/
237 ln -s ../bar-3-requires.device /etc/systemd/system/bar@3.service.requires/
245 ln -s ../bar-alias-template-requires.device /etc/systemd/system/bar-alias@.service.requires/
246 ln -s ../bar-alias-0-requires.device /etc/systemd/system/bar-alias@0.service.requires/
247 ln -s ../bar-alias-1-requires.device /etc/systemd/system/bar-alias@1.service.requires/
248 ln -s ../bar-alias-2-requires.device /etc/systemd/system/bar-alias@2.service.requires/
249 ln -s ../bar-alias-3-requires.device /etc/systemd/system/bar-alias@3.service.requires/
254 systemctl show -p Names,Requires bar@0
255 systemctl show -p Names,Requires bar-alias@0
256 check_ok bar@0 Names bar@0
257 check_ok bar@0 Names bar-alias@0
259 check_ok bar@0 After bar-template-after.device
261 check_ok bar@0 Requires bar-0-requires.device
262 check_ok bar@0 Requires bar-alias-0-requires.device
263 check_ok bar@0 Requires bar-template-requires.device
264 check_ok bar@0 Requires bar-alias-template-requires.device
265 check_ko bar@0 Requires yup-template-requires.device
267 check_ok bar-alias@0 After bar-template-after.device
269 check_ok bar-alias@0 Requires bar-0-requires.device
270 check_ok bar-alias@0 Requires bar-alias-0-requires.device
271 check_ok bar-alias@0 Requires bar-template-requires.device
272 check_ok bar-alias@0 Requires bar-alias-template-requires.device
273 check_ko bar-alias@0 Requires yup-template-requires.device
274 check_ko bar-alias@0 Requires yup-0-requires.device
277 systemctl show -p Names,Requires bar@1
278 systemctl show -p Names,Requires bar-alias@1
279 check_ok bar@1 Names bar@1
280 check_ok bar@1 Names bar-alias@1
282 check_ok bar@1 After bar-template-after.device
284 check_ok bar@1 Requires bar-1-requires.device
285 check_ok bar@1 Requires bar-alias-1-requires.device
286 check_ok bar@1 Requires bar-template-requires.device
288 check_ok bar@1 Requires bar-alias-template-requires.device
289 check_ko bar@1 Requires yup-template-requires.device
290 check_ko bar@1 Requires yup-1-requires.device
292 check_ok bar-alias@1 After bar-template-after.device
294 check_ok bar-alias@1 Requires bar-1-requires.device
295 check_ok bar-alias@1 Requires bar-alias-1-requires.device
296 check_ok bar-alias@1 Requires bar-template-requires.device
297 check_ok bar-alias@1 Requires bar-alias-template-requires.device
298 check_ko bar-alias@1 Requires yup-template-requires.device
299 check_ko bar-alias@1 Requires yup-1-requires.device
302 systemctl show -p Names,Requires bar@2
303 systemctl show -p Names,Requires bar-alias@2
304 check_ok bar@2 Names bar@2
305 check_ko bar@2 Names bar-alias@2
307 check_ok bar@2 After bar-template-after.device
309 check_ok bar@2 Requires bar-2-requires.device
310 check_ko bar@2 Requires bar-alias-2-requires.device
311 check_ok bar@2 Requires bar-template-requires.device
312 check_ko bar@2 Requires bar-alias-template-requires.device
313 check_ko bar@2 Requires yup-template-requires.device
314 check_ko bar@2 Requires yup-2-requires.device
316 check_ko bar-alias@2 After bar-template-after.device
318 check_ko bar-alias@2 Requires bar-2-requires.device
319 check_ok bar-alias@2 Requires bar-alias-2-requires.device
320 check_ko bar-alias@2 Requires bar-template-requires.device
321 check_ok bar-alias@2 Requires bar-alias-template-requires.device
322 check_ok bar-alias@2 Requires yup-template-requires.device
323 check_ok bar-alias@2 Requires yup-2-requires.device
326 systemctl show -p Names,Requires bar@3
327 systemctl show -p Names,Requires bar-alias@3
328 check_ok bar@3 Names bar@3
329 check_ko bar@3 Names bar-alias@3
331 check_ok bar@3 After bar-template-after.device
333 check_ok bar@3 Requires bar-3-requires.device
334 check_ko bar@3 Requires bar-alias-3-requires.device
335 check_ok bar@3 Requires bar-template-requires.device
336 check_ko bar@3 Requires bar-alias-template-requires.device
337 check_ko bar@3 Requires yup-template-requires.device
338 check_ko bar@3 Requires yup-3-requires.device
340 check_ko bar-alias@3 After bar-template-after.device
342 check_ko bar-alias@3 Requires bar-3-requires.device
343 check_ok bar-alias@3 Requires bar-alias-3-requires.device
344 check_ko bar-alias@3 Requires bar-template-requires.device
345 check_ok bar-alias@3 Requires bar-alias-template-requires.device
346 check_ok bar-alias@3 Requires yup-template-requires.device
347 check_ok bar-alias@3 Requires yup-3-requires.device
349 clear_services foo {bar,yup,bar-alias}@{,1,2,3}