0.5
app-cordova
debian/bullseye
debian/jessie
|
Last change
on this file since 22f7269 was 22f7269, checked in by Joachim Langenbach <joachim.langenbach@…>, 10 years ago |
|
Updated puppet config
|
-
Property mode
set to
100644
|
|
File size:
691 bytes
|
| Line | |
|---|
| 1 | <%- | String $mount_point,
|
|---|
| 2 | String $display_size,
|
|---|
| 3 | String $options,
|
|---|
| 4 | String $exec_start_post,
|
|---|
| 5 | String $exec_stop_pre
|
|---|
| 6 | | -%>
|
|---|
| 7 | [Unit]
|
|---|
| 8 | Description=A Fuse driver for the Repaper.org EPD
|
|---|
| 9 | After=network.target
|
|---|
| 10 |
|
|---|
| 11 | [Service]
|
|---|
| 12 | Type=forking
|
|---|
| 13 | PrivateDevices=no
|
|---|
| 14 | SyslogLevel=err
|
|---|
| 15 | ExecStartPre=/bin/mkdir -p <%= $mount_point %>
|
|---|
| 16 | ExecStart=
|
|---|
| 17 | ExecStart=/usr/sbin/epd_fuse --panel=<%= $display_size %> <%= $options %> <%= $mount_point %>
|
|---|
| 18 | <% if $exec_start_post != "" { -%>
|
|---|
| 19 | ExecStartPost=-<%= $exec_start_post %>
|
|---|
| 20 | <% } -%>
|
|---|
| 21 | ExecStop=
|
|---|
| 22 | <% if $exec_stop_pre != "" { -%>
|
|---|
| 23 | ExecStop=-<%= $exec_stop_pre %>
|
|---|
| 24 | <% } -%>
|
|---|
| 25 | ExecStop=/bin/umount <%= $mount_point %>
|
|---|
| 26 | KillSignal=SIGQUIT
|
|---|
| 27 | KillMode=mixed
|
|---|
| 28 |
|
|---|
| 29 | [Install]
|
|---|
| 30 | WantedBy=multi-user.target
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.