Index: src/puppetcode/environments/test/modules/gnuboat_epd/manifests/service.pp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_epd/manifests/service.pp	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
+++ src/puppetcode/environments/test/modules/gnuboat_epd/manifests/service.pp	(revision d7ee6ae76710a72f36bf07a806ca5c14e8d3aa2d)
@@ -3,5 +3,9 @@
 	Enum['running', 'stopped'] $status = 'running',
 	Boolean $enabled = true,
+	String $options = '-o allow_other -o default_permissions'
+	String $mount_point = '/dev/epp',
 	String $display_size = '2.7'
+	String $exec_start_post = '', # Could be set to a script to display a welcome screen, after starting epd-fuse service
+	String $exec_stop_pre = '', # Could be set to a script to display a good by screen, before stopping epd-fuse service
 )
 inherits gnuboat_epd
@@ -14,5 +18,18 @@
 
 
-	file{'/etc/default/epd-fuse':
+# 	Only needed by initd script, which is not supported by the debian package right now
+# 	file{'/etc/default/epd-fuse':
+# 		ensure => present,
+# 		owner => 'root',
+# 		group => 'root',
+# 		mode => '0600',
+# 		notify => Service['epd-fuse'],
+# 		content => epp('gnuboat_epd/epd-fuse.epp',
+# 		{
+# 			'display_size' => $display_size,
+# 		}),
+# 	}
+	
+	file{'/etc/systemd/system/epd-fuse.service/local.conf':
 		ensure => present,
 		owner => 'root',
@@ -20,7 +37,11 @@
 		mode => '0600',
 		notify => Service['epd-fuse'],
-		content => epp('gnuboat_epd/epd-fuse.epp',
+		content => epp('gnuboat_epd/epd-fuse.service.epp',
 		{
+			'options' => $options,
+			'mount_point' => $mount_point,
 			'display_size' => $display_size,
+			'exec_start_post' => $exec_start_post,
+			'exec_stop_pre' => $exec_stop_pre,
 		}),
 	}
Index: src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
+++ src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.epp	(revision d7ee6ae76710a72f36bf07a806ca5c14e8d3aa2d)
@@ -1,4 +1,4 @@
 # Options to pass to epd_fuse
-#EPD_MOUNTPOINT=/dev/epd
+#EPD_MOUNTPOINT=<%= $mount_point %>
 EPD_SIZE=<%= display_size %>
-EPD_OPTS='-o allow_other -o default_permissions'
+EPD_OPTS=<%= $options %>
Index: src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.service.epp
===================================================================
--- src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.service.epp	(revision d7ee6ae76710a72f36bf07a806ca5c14e8d3aa2d)
+++ src/puppetcode/environments/test/modules/gnuboat_epd/templates/epd-fuse.service.epp	(revision d7ee6ae76710a72f36bf07a806ca5c14e8d3aa2d)
@@ -0,0 +1,12 @@
+[Service]
+ExecStartPre=/usr/bin/mkdir -p <%= $mount_point %>
+ExecStart=
+ExecStart=/usr/sbin/epd_fuse --panel=<%= $display_size %> <%= $options %> <%= $mount_point %>
+<% if $exec_start_post { -%>
+ExecStartPost=-<%= $exec_start_post %>
+<% } -%>
+ExecStop=
+ExecStop=/usr/bin/umount <%= $mount_point %>
+<% if $exec_stop_pre { -%>
+ExecStopPre=-<%= $exec_stop_pre %>
+<% } -%>
