add insin package assets (install.cfg, hooks, systemd units)
This commit is contained in:
9
deploy/insin/postinst
Executable file
9
deploy/insin/postinst
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
INSTALL_DIR="$(pwd)"
|
||||
chmod +x "$INSTALL_DIR/EpsonPrintService"
|
||||
mkdir -p /var/lib/epson-print-service
|
||||
install -m 644 epson.service /etc/systemd/system/epson.service
|
||||
install -m 644 print_server.service /etc/systemd/system/print_server.service
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now epson.service print_server.service
|
||||
Reference in New Issue
Block a user