summaryrefslogtreecommitdiffstats
path: root/remote/modules/cups/data
diff options
context:
space:
mode:
authorManuel Schneider2013-10-09 19:03:28 +0200
committerManuel Schneider2013-10-09 19:03:28 +0200
commita01f5af07efe0819cd7f71d8ea9753a39f71c4a9 (patch)
treee7b18dbcf3ab80afb18d83937fb652f9d027ef9e /remote/modules/cups/data
parent[vbox] Unneded REQUIRED_LIB deleted. (diff)
downloadtm-scripts-a01f5af07efe0819cd7f71d8ea9753a39f71c4a9.tar.gz
tm-scripts-a01f5af07efe0819cd7f71d8ea9753a39f71c4a9.tar.xz
tm-scripts-a01f5af07efe0819cd7f71d8ea9753a39f71c4a9.zip
Contains the complete bunch of software needed for the printing system in the pools:
- A lpd server is started in vmchooser-run_virt. - A iptables rule redirects traffic from sourceport 515 to destport 5515 - Added module cups, the printserver in the minilinux. - Binaries an libs needed for a minimal cups installation. - Systemd-service for cups. - Added module printergui, the custom cups frontend. - Is a single GUI-binary that pops up in case of a printjob sent to the lpd. - Modules are enabled in stage32.
Diffstat (limited to 'remote/modules/cups/data')
-rw-r--r--remote/modules/cups/data/etc/systemd/system/cups.service8
l---------remote/modules/cups/data/etc/systemd/system/network.target.wants/cups.service1
2 files changed, 9 insertions, 0 deletions
diff --git a/remote/modules/cups/data/etc/systemd/system/cups.service b/remote/modules/cups/data/etc/systemd/system/cups.service
new file mode 100644
index 00000000..38beff56
--- /dev/null
+++ b/remote/modules/cups/data/etc/systemd/system/cups.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Common Unix Printing System
+Requires=network.target graphical.target
+After=network.target
+Before=graphical.target
+
+[Service]
+ExecStart=/usr/sbin/cupsd -f
diff --git a/remote/modules/cups/data/etc/systemd/system/network.target.wants/cups.service b/remote/modules/cups/data/etc/systemd/system/network.target.wants/cups.service
new file mode 120000
index 00000000..d8578ebb
--- /dev/null
+++ b/remote/modules/cups/data/etc/systemd/system/network.target.wants/cups.service
@@ -0,0 +1 @@
+../cups.service \ No newline at end of file