2018-02-23 15:56:31 +01:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
[Unit]
|
|
|
|
Description={{ flexlm__service_description }}
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2018-02-23 16:25:27 +01:00
|
|
|
User={{ flexlm__user_name }}
|
2018-02-23 15:56:31 +01:00
|
|
|
WorkingDirectory={{ flexlm__service_working_directory }}
|
2018-02-23 16:37:38 +01:00
|
|
|
ExecStart={{ flexlm__lmgrd_path }} -z -c {{ flexlm__licence_file }}
|
2018-02-23 15:56:31 +01:00
|
|
|
SuccessExitStatus=15
|
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|