1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
[Unit] Description=rt-pupflare After=network-online.target [Service] EnvironmentFile=/etc/default/rt-pupflare User=%i Group=%i Restart=on-failure ProtectSystem=full PrivateDevices=true WorkingDirectory=/opt/thirdparty ExecStart=/usr/bin/node $INSTALL_DIR/app.js $PARAMS [Install] WantedBy=multi-user.target