Skip to content
Snippets Groups Projects
instantiated-service.md 1006 B

title: The 66 Suite: module service creation author: Eric Vidal eric@obarun.org

66

obarun.org

Instantiated service file creation

An instantiated service file is of the same syntax as decribed in the frontend document for any other service. It can be any type of service. However some differences exist :

  • the name of the file needs to be appended with an @ (commercial at) character.
  • every value replaced in an instance file needs to be written with @I.

Example :

    File name : tty@
   
    Contents :
    
    [main]
    @type = classic
    @description = "Launch @I"
    @user = ( root )
    
    [start]
    @build = auto
    @execute = ( agetty -J 38400 @I } )

By using 66-enable tty@tty1, the resulting file will then be:

    [main]
    @type = classic
    @description = "Launch tty1"
    @user = ( root )
    
    [start]
    @build = auto
    @execute = ( agetty -J 38400 tty1 } )