[Unit] Description=OpenSCADA PLC After=network.target [Service] Type=simple User=root PIDFile=/var/run/openscada_PLC.pid ExecStart=/usr/bin/openscada --projName=plc --projUserDir --demon --pidFile=/var/run/openscada_PLC.pid Restart=always RestartSec=5 StandardOutput=append:/var/log/openscada.log StandardError=append:/var/log/openscada.log [Install] WantedBy=multi-user.target