[Unit] Description=__SERVICE_NAME__ After=network-online.target Wants=network-online.target [Service] Type=simple User=__APP_USER__ Group=__APP_GROUP__ WorkingDirectory=__BASE_DIR__/current Environment=TKIVMS_CONFIG=__BASE_DIR__/current/config/currentConfig.cfg ExecStart=__BASE_DIR__/current/TKiVMSGateway Restart=always RestartSec=5 KillSignal=SIGINT TimeoutStopSec=30 NoNewPrivileges=true PrivateTmp=true [Install] WantedBy=multi-user.target