source: src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.service.epp@ 6cce084

0.5 app-cordova debian/bullseye debian/jessie
Last change on this file since 6cce084 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]
8Description=A Fuse driver for the Repaper.org EPD
9After=network.target
10
11[Service]
12Type=forking
13PrivateDevices=no
14SyslogLevel=err
15ExecStartPre=/bin/mkdir -p <%= $mount_point %>
16ExecStart=
17ExecStart=/usr/sbin/epd_fuse --panel=<%= $display_size %> <%= $options %> <%= $mount_point %>
18<% if $exec_start_post != "" { -%>
19ExecStartPost=-<%= $exec_start_post %>
20<% } -%>
21ExecStop=
22<% if $exec_stop_pre != "" { -%>
23ExecStop=-<%= $exec_stop_pre %>
24<% } -%>
25ExecStop=/bin/umount <%= $mount_point %>
26KillSignal=SIGQUIT
27KillMode=mixed
28
29[Install]
30WantedBy=multi-user.target
Note: See TracBrowser for help on using the repository browser.