From aa18bd820d27c22c91c64c78cf324c0257711a9c Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Mon, 8 May 2017 19:49:24 -0700 Subject: [PATCH] Systemd service for a2pi --- share/a2pi.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 share/a2pi.service diff --git a/share/a2pi.service b/share/a2pi.service new file mode 100644 index 0000000..b3b5963 --- /dev/null +++ b/share/a2pi.service @@ -0,0 +1,13 @@ +[Unit] +Description=Apple II Pi Daemon +After=network.target + +[Service] +Type=idle +Environment="HOME=/root" +ExecStart=/sbin/a2pid +Restart=on-failure +RestartSec=60 + +[Install] +WantedBy=multi-user.target