[Unit]
Description=GPIO Interrupt Capture Service
Requires=monitor-gpio.socket
After=monitor-gpio.socket

[Service]
Type=simple
User=root
WorkingDirectory=/home/user/WiringPi/examples

ExecStart=/home/user/WiringPi/examples/gpio-interrupt -
StandardOutput=socket
StandardError=journal

Restart=always
RestartSec=2
